[wp-trac] [WordPress Trac] #9433: Patch for #9199 adds extra backslashes to pending-review previews

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 1 01:00:22 GMT 2009


#9433: Patch for #9199 adds extra backslashes to pending-review previews
--------------------------+-------------------------------------------------
 Reporter:  ramenboy      |       Owner:  anonymous 
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 Changesets [10620] and [10621] for #9199 causes broken previews for posts
 with non-draft status.

 Steps to reproduce:

  1. Posts -> Add New
  2. Enter a title with quotes and apostrophes
  3. Enter content with quotes and apostrophes
  4. In the Publish box next to "Status: Draft", click "Edit"
  5. Change status to "Pending Review", click "OK"
  6. Click "Save as Pending"
  7. Click "Preview"
  8. Quotes and apostrophes in title and content will have backslashes
 before them

 In addition to mangling the text, this is causing broken images in
 previews.

 Rolling back the change fixes the problem, though it probably reintroduces
 the original issue #9199.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9433>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list