Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 8 years ago

#18 closed defect (bug) (fixed)

Posts created with old versions of WP contain extra slashes

Reported by: ryan's profile ryan Owned by: ryan's profile ryan
Milestone: Priority: normal
Severity: minor Version:
Component: General Keywords:
Focuses: Cc:


Old versions of WP added extra slashes to posts. These extra slashes show up in WP 1.2. We need to provide a script that removes these extra slashes from old posts.

Change History (8)

#2 @markku
20 years ago

This can be integrated into the upgrade script of the next release.

My interim solution was to search for instances of 3 backslashes (
\) and replaced them with just one backslash. I did this in phpmyadmin.

However, a downside is it would affect any posts/comments/etc that was purposedly entered to contain 3 backslashes in the text.

#3 @ryan
20 years ago

  • Status changed from new to assigned

#4 @Zarniwoop
20 years ago

I think guessing the time of this upgrade is the major problem. Then you can change all comments newer than this time. Maybe looking at the ctime of some WP files can help (other ideas to make this more reliable?) but it should be left to the user to change this, if he *knows* when he did this upgrade (eventually he has written a post this day, he can remember, ...).

#5 @ryan
20 years ago

  • Owner changed from anonymous to rboren

#6 @ryan
20 years ago

  • Resolution changed from 10 to 20
  • Status changed from assigned to closed

Extra slashes removed during upgrade.

This ticket was mentioned in Slack in #core-multisite by jeremyfelt. View the logs.

8 years ago

Note: See TracTickets for help on using tickets.