[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:16 UTC 2016


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

 * owner:   => dcavins
 * status:  new => closed
 * resolution:   => fixed


Comment:

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

  Add wrapper functions for working with BuddyPress taxonomies via
 `get_term_by()`. 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.

 Fixes #7263.
 }}}

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


More information about the buddypress-trac mailing list