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

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 24 01:51:02 UTC 2011


#9640: wp_update_user() blindly calls add_magic_quotes(), even on objects
------------------------------------------------+--------------------------
 Reporter:  misterbisson                        |       Owner:
     Type:  defect (bug)                        |      Status:  reopened
 Priority:  normal                              |   Milestone:  Future
Component:  Users                               |  Release
 Severity:  normal                              |     Version:  3.2.1
 Keywords:  has-patch 2nd-opinion dev-feedback  |  Resolution:
------------------------------------------------+--------------------------

Comment (by anmari):

 Update: In 3.3 beta I get this message
 Catchable fatal error: Object of class stdClass could not be converted to
 string in C:\web\wpbeta\wp\wp-includes\functions.php on line 1526


 In 3.2.1 message is
 Catchable fatal error: Object of class __PHP_Incomplete_Class could not be
 converted to string in C:\web\wpforum\wp\wp-includes\functions.php on line
 1526

 I have tried to follow discussion above. somehow it seems objects are
 still ending up at line 1562 (same code in both versions)

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


More information about the wp-trac mailing list