[wp-trac] [WordPress Trac] #9822: Quick Edit loses \ in the post content

WordPress Trac wp-trac at lists.automattic.com
Thu May 14 19:04:24 GMT 2009


#9822: Quick Edit loses \ in the post content
--------------------------+-------------------------------------------------
 Reporter:  hailin        |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 If a post contains \, Quick Edit it, such as changing the category, then
 click "Update Post". The \ is lost.

 The root cause is that $post is read from the db, and the post insertion
 and save logic assumes magic_quotes are already added.

 The fix is dd_magic_quotes($post);

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


More information about the wp-trac mailing list