[buddypress-trac] [BuddyPress Trac] #9060: bp_rewrites_get_url filter is not supplied original function arguments

buddypress-trac noreply at wordpress.org
Tue Jan 9 03:11:17 UTC 2024


#9060: bp_rewrites_get_url filter is not supplied original function arguments
--------------------------+---------------------
 Reporter:  sjregan       |       Owner:  imath
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  14.0.0
Component:  Core          |     Version:  12.0.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by imath):

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


Comment:

 In [changeset:"13691" 13691]:
 {{{
 #!CommitTicketReference repository="" revision="13691"
 Improve the `'bp_rewrites_get_url'` filter additional parameters

 - Make sure the first additional parameter `$path_chunks` contains an
 unchanged & parsed version of the function original arguments.
 - Add a second additional parameter `$args` containing the function
 original arguments.

 Props sjregan

 Fixes #9060
 Closes https://github.com/buddypress/buddypress/pull/213
 }}}

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


More information about the buddypress-trac mailing list