[buddypress-trac] [BuddyPress Trac] #8490: Helper to get a REST API object URL from a component.

buddypress-trac noreply at wordpress.org
Fri Jul 2 01:48:04 UTC 2021


#8490: Helper to get a REST API object URL from a component.
------------------------------+--------------------------
 Reporter:  espellcaste       |       Owner:  espellcaste
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  9.0.0
Component:  REST API          |     Version:  8.0.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+--------------------------
Changes (by espellcaste):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"12985" 12985]:
 {{{
 #!CommitTicketReference repository="" revision="12985"
 Introducing a new helper function `bp_rest_get_object_url`, used to grab a
 REST API endpoint url from a specific component.

 We are also deprecating the legacy version `bp_rest_get_user_url`

 Props imath

 Fixes #8490
 }}}

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


More information about the buddypress-trac mailing list