[wp-trac] Re: [WordPress Trac] #9640: wp_update_user() blindly calls add_magic_quotes(), even on objects

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 24 09:24:24 GMT 2009


#9640: wp_update_user() blindly calls add_magic_quotes(), even on objects
--------------------------+-------------------------------------------------
 Reporter:  misterbisson  |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:  2.9     
Component:  Users         |      Version:  2.8     
 Severity:  normal        |   Resolution:          
 Keywords:  needs-patch   |  
--------------------------+-------------------------------------------------

Comment(by hakre):

 Docblocks and comments should be provided for clarification. Addtionally
 current codebase can add a check for other types then arrays. Currently
 there is only array and else. This is quite broad.

 IMHO this should at least be documented with the ''add_magic_quotes()''
 function.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9640#comment:27>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list