WordPress.org

Ready to get started?Download WordPress

Forums

WordPress 2.0.3 improperly escaping single and double quotes on editing (3 posts)

  1. ravasthi
    Member
    Posted 7 years ago #

    I recently upgraded from WP 2.0.2 to 2.0.3 and noticed a problem. If I add a link or comment with apostrophes or quotes to WP, it gets added to the database properly and displayed properly. However, if I then edit the link or comment and save it, the data in the database suddenly contains escape characters (backslashes) before all the single and double quotes, and these backslashes can't be removed by editing again. You have to go into the database (in my case, I used phpMyAdmin) to manually edit the entries to remove the erroneous backslashes. I am not too familiar with the WP code, but I'm guessing that the problem lies in the save-after-edit functionality.

    PS - I could not find this topic posted for this version of WP in the WP forums or on trac. Please advise whether this is an existing issue and if a fix has already been made.

  2. Chris_K
    Member
    Posted 7 years ago #

    Known and existing issue. Easiest fix, with 2.0.4 looming, would be to grab the tuneup plugin: http://txfx.net/code/wordpress/wordpress-203-tuneup/

  3. ravasthi
    Member
    Posted 7 years ago #

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic