[wp-trac] [WordPress Trac] #10584: wp-db::escape doesn't properly handle objects

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 11 00:40:57 UTC 2009


#10584: wp-db::escape doesn't properly handle objects
--------------------------+-------------------------------------------------
 Reporter:  prettyboymp   |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Database      |     Version:  2.8.3     
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 The wp_insert_user and wp_update_user functions call get_userdata() which
 pulls all the usermeta.  If any usermeta is stored as a serialized object
 they are converted to their class, however, the wp-db escape function
 doesn't properly convert them back to serialized objects before trying to
 escape them, throwing fatal errors.

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


More information about the wp-trac mailing list