#18 closed defect (bug) (fixed)
Posts created with old versions of WP contain extra slashes
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
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)
#4
@
21 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, ...).
#6
@
21 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.
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.