[buddypress-trac] [BuddyPress] #2952: Filter user meta keys

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun May 15 17:36:15 UTC 2011

#2952: Filter user meta keys
  Reporter:  wpmuguru     |      Owner:  johnjamesjacoby
      Type:  enhancement  |     Status:  assigned
  Priority:  normal       |  Milestone:  1.3
 Component:  Core         |    Version:
Resolution:               |   Keywords:  has-patch dev-feedback

Comment (by wpmuguru):

 Reading through it, it looks good. The only thing I saw that I would
 change is in bp-core-component.php from

 apply_filters( "bp_user_meta_keys-$key_name", $key_value );


 apply_filters( "bp_user_meta_key_$key_name", $key_value );

 It's only doing one key on each pass of the filter & in WP string replaced
 filters & hooks are usually joined with an _ not with a -.

 I'll give it a run later today.

Ticket URL: <https://trac.buddypress.org/ticket/2952#comment:14>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list