[wp-trac] Re: [WordPress Trac] #9189: add_magic_quotes now double-escaping post content when saving

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 20 19:05:15 GMT 2009


#9189: add_magic_quotes now double-escaping post content when saving
-----------------------------+----------------------------------------------
 Reporter:  filosofo         |       Owner:  anonymous                                            
     Type:  defect (bug)     |      Status:  new                                                  
 Priority:  highest omg bbq  |   Milestone:  2.8                                                  
Component:  General          |     Version:  2.8                                                  
 Severity:  normal           |    Keywords:  add_magic_quotes mysql_real_escape_string needs-patch
-----------------------------+----------------------------------------------

Comment(by ryan):

 (In [10604]) Use mysql_real_escape_string() only in prepare(), insert(),
 and update().  escape() uses addslashes only.  Add array support to
 escape(). see #9189

-- 
Ticket URL: </ticket/9189#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list