[buddypress-trac] [BuddyPress] #4551: groups_get_groupmeta should allow filtering the value

buddypress-trac noreply at wordpress.org
Mon Oct 22 20:48:50 UTC 2012


#4551: groups_get_groupmeta should allow filtering the value
-------------------------+------------------------------
 Reporter:  sbrajesh     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Core         |     Version:  1.6.1
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------
Changes (by sbrajesh):

 * keywords:  needs-patch => has-patch
 * component:  Groups => Core


Comment:

 Hi,
 Here is a patch attached which is modeled after wordpress meta api.
 This patch introduces a meta api for BuddyPress. Any plugin can leverage
 the api to query for meta data.

 Also, It includes BP_Meta_Query class which is a derivative of
 Wp_Meta_Query class and works exactly in the same manner.

 This patch is against r6465 on the bp 1.6 branch. Please check and let us
 improve it. Is it acceptable to have this short of api ? Introducing the
 api does reduces the code for different component meta functions.

 Please note, this patch includes updates for activity,blog,group meta
 using the new api but not for xprofile meta as xprofile metas have a
 little bit different organization strategy.

 Looking forward to hear the feedbacks.

 Please let me know if we should have it against the 1.7 trunk?

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4551#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list