﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
9638,add_magic_quotes() fails on objects,misterbisson,anonymous,"objects passed to add_magic_quotes() are assumed to be strings and passed along to wpdb::escape(), causing PHP to die with the following error:

{{{
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/functions.php

This probably wouldn't be a problem, but wp_update_user() blindly calls add_magic_quotes() on all user meta, some of which might be an object. 

http://core.trac.wordpress.org/browser/trunk/wp-includes/registration.php",defect (bug),closed,normal,,General,2.7,normal,duplicate,needs-patch reporder-feedback,anmari frenchtowner
