[wp-trac] [WordPress Trac] #28339: Escaped character (\) gets clobbered by Restore This Revision button

WordPress Trac noreply at wordpress.org
Fri May 23 16:27:04 UTC 2014


#28339: Escaped character (\) gets clobbered by Restore This Revision button
----------------------------+-----------------------------
 Reporter:  Strix technica  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Revisions       |    Version:  3.9.1
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 The escape character, \, gets clobbered by 'Restore This Revision'.  This
 bug looks like a partial regression of #9199 though, on this occasion,
 posts containing backslashes can be saved all right — it's only on restore
 that the backslashes are stripped.  No idea if the causes are similar.

 \ is important for embedded scripts such as those generated by
 http://w2.syronex.com/jmr/safemailto/.

 How to reproduce:
 Create a Page with the content:

 \'escaped quotes\'

 save; modify and save; then restore/revert that earlier save.  The result
 will be:

 'escaped quotes'

 This bug is present in 3.9.1, but not 3.8.2.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28339>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list