Ticket #9640 (reopened defect (bug))
wp_update_user() blindly calls add_magic_quotes(), even on objects
| Reported by: | misterbisson | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Users | Version: | 2.8 |
| Severity: | normal | Keywords: | has-patch 2nd-opinion dev-feedback |
| Cc: | simon@…, sirzooro |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

