Skip to:

Opened 13 years ago

Closed 13 years ago

#3299 closed enhancement (fixed)

bp_get_user_meta() and bp_update_user_meta()

Reported by: boonebgorges's profile boonebgorges Owned by: boonebgorges's profile boonebgorges
Milestone: 1.5 Priority: normal
Severity: Version: 1.5
Component: Core Keywords:


For greater internal consistency with the changes proposed in #3261, and for more readable code, I think we should introduce functions bp_get_user_meta() and bp_update_user_meta(). They would be wrappers for our current setup, which puts the bp_get_user_meta_key() filter on meta_keys, but it would be a bit easier to use.

I'll work up a patch. If there are any objections, let me know.

Attachments (1)

3299.diff (38.9 KB) - added by boonebgorges 13 years ago.

Download all attachments as: .zip

Change History (3)

#1 @boonebgorges
13 years ago

See 3299.diff

13 years ago

#2 @boonebgorges
13 years ago

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

(In [4558]) Introduces bp_x_user_meta() wrapper functions. Refactors internal user_meta calls to use the new functions. Fixes #3299

Note: See TracTickets for help on using tickets.