Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#2523 closed defect (bug) (fixed)

Update *_usermeta references to the new WP 3.0 *_user_meta (1.2.x Branch)

Reported by: cnorris23's profile cnorris23 Owned by:
Milestone: 1.2.6 Priority: normal
Severity: Version:
Component: Core Keywords: has-patch
Cc:

Description

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.

Attachments (1)

2523.001.diff (51.0 KB) - added by cnorris23 14 years ago.

Download all attachments as: .zip

Change History (5)

@cnorris23
14 years ago

#2 @johnjamesjacoby
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3145]) Fixes #2523 props cnorris23

#3 @nuprn1
14 years ago

so with this change now in 1.2.6 - it will be a hard requirement WP3.0?

#4 @DJPaul
14 years ago

BuddyPress required WP 3.0 as of 1.2.5.2

Note: See TracTickets for help on using tickets.