[wp-trac] [WordPress Trac] #18551: get_userdata returning full user object, not data like it used to

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 4 11:33:30 UTC 2011


#18551: get_userdata returning full user object, not data  like it used to
-------------------------------+----------------------
 Reporter:  anmari             |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  3.3
Component:  Users              |     Version:  3.3
 Severity:  major              |  Resolution:  invalid
 Keywords:  reporter-feedback  |
-------------------------------+----------------------

Comment (by scribu):

 Yes, unfortunately, {{{foreach ( (array) $user as $key => $value )}}}
 doesn't work anymore, but it was a bad practice anyway. You're almost
 always only interested in the metadata.

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


More information about the wp-trac mailing list