[buddypress-trac] [BuddyPress Trac] #7263: Add BuddyPress-safe wrappers for get_objects_in_term() and get_term_by().

buddypress-trac noreply at wordpress.org
Mon Sep 19 23:44:10 UTC 2016


#7263: Add BuddyPress-safe wrappers for get_objects_in_term() and get_term_by().
------------------------------+--------------------
 Reporter:  dcavins           |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  2.7
Component:  Core              |     Version:  2.6.3
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------

Comment (by dcavins):

 In [changeset:"11118"]:
 {{{
 #!CommitTicketReference repository="" revision="11118"
 Add multisite-aware wrapper for get_objects_in_term().

 Add wrapper functions for working with BuddyPress taxonomies via
 `get_objects_in_term()`. When working with BuddyPress objects like
 users, we need to be sure that we’re referring to the taxonomies and
 terms for the site on the network where the relevant taxonomy is
 registered.

 Props dcavins, boonebgorges, offereins.

 See #7263.
 }}}

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


More information about the buddypress-trac mailing list