[buddypress-trac] [BuddyPress] #2523: Update *_usermeta references to the new WP 3.0 *_user_meta (1.2.x Branch)
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Mon Jul 12 20:51:55 UTC 2010
#2523: Update *_usermeta references to the new WP 3.0 *_user_meta (1.2.x Branch)
-----------------------+----------------------------------------------------
Reporter: cnorris23 | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.2.6
Component: Core | Keywords: has-patch
-----------------------+----------------------------------------------------
WP 3.0 deprecates all *_usermeta functions in favor of the new *_user_meta
functions. It's a pretty straight forward change for the update_user_meta
and delete_user_meta functions. The new default behavior for the
get_user_meta function is to add everything to an array. There is a
$single parameter that's been added to the function to allow get_user_meta
to behave like get_usermeta, as far as data presentation goes. I've done
my best to go through and add 'true' for the $single parameter, so that
nothing operates out of the ordinary. However, something may have been
missed, so this will need some testing. I'll also do my best to keep up
with any changes to trunk that may require this patch to be updated.
--
Ticket URL: <http://trac.buddypress.org/ticket/2523>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list