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

buddypress-trac noreply at wordpress.org
Mon Oct 22 21:59:39 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    |
-------------------------+------------------------------

Comment (by sbrajesh):

 Hi Paul,
 Thank you for taking a look and asking.
 The problem with WP_Meta_Query is it uses the function _get_meta_table in
 the method get_sql which does not allow filtering, so we could not pass
 our custom table names there. Otherwise, we can use rest of its code.

 The current patch introduces _bp_get_meta_table which allows filtering. If
 it is possible, and  we can get a patch for it in wp core, we may not even
 need the meta data api and just use wordpress's built in meta data api.
 The only issue is the use of _get_meta_table in those functions which
 restricts us from using it.

 I will be putting a patch for 1.7 trunk too. I put the patch for bp 1.6
 trunk as my Friend Hans needed it for Bp 1.6 :)

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


More information about the buddypress-trac mailing list