[buddypress-trac] [BuddyPress Trac] #8884: The Array Argument of `bp_displayed_user_url()` needs to include specific keys

buddypress-trac noreply at wordpress.org
Sun May 7 17:40:32 UTC 2023


#8884: The Array Argument  of `bp_displayed_user_url()` needs to include specific
keys
--------------------------+---------------------
 Reporter:  imath         |       Owner:  imath
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  12.0.0
Component:  Members       |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13472" 13472]:
 {{{
 #!CommitTicketReference repository="" revision="13472"
 Use the `bp_displayed_user_url()` function the right way

 Use the `bp_members_get_path_chunks()` helper function to build the
 arguments array expected by `bp_displayed_user_url()` at 8 places where a
 regular array of slugs were wrongly used during the BP Rewrites merge
 process (#4954).

 Closes https://github.com/buddypress/buddypress/pull/98
 Fixes #8884
 }}}

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


More information about the buddypress-trac mailing list