[buddypress-trac] [BuddyPress] #2294: Update *_usermeta references to the new WP 3.0 *_user_meta
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Thu Apr 8 07:30:37 UTC 2010
#2294: Update *_usermeta references to the new WP 3.0 *_user_meta
-----------------------+----------------------------------------------------
Reporter: cnorris23 | Owner: cnorris23
Type: defect | Status: new
Priority: normal | Milestone: 1.3
Component: Core | Keywords: has-patch needs-testing
-----------------------+----------------------------------------------------
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/2294>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list