[wp-trac] [WordPress Trac] #9640: wp_update_user() blindly calls
add_magic_quotes(), even on objects
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 24 18:14:53 GMT 2009
#9640: wp_update_user() blindly calls add_magic_quotes(), even on objects
--------------------------+-------------------------------------------------
Reporter: misterbisson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Users | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
If there's an object stored in usermeta, then the call to
add_magic_quotes() will lead to an error in wpdb::escape():
{{{
Catchable fatal error: Object of class stdClass could not be converted to
string in /web/ven/wp-includes/wp-db.php on line 472
}}}
http://core.trac.wordpress.org/browser/trunk/wp-includes/registration.php
See also #9638. The two problems are related, but probably need to be
solved independently.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9640>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list