[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:05:46 UTC 2023
#8884: The Array Argument of `bp_displayed_user_url()` needs to include specific
keys
--------------------------+-------------------------
Reporter: imath | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 12.0.0
Component: Members | Version:
Severity: normal | Keywords: needs-patch
--------------------------+-------------------------
These specific keys are:
{{{
array(
'single_item_component' => '',
'single_item_action' => '',
'single_item_action_variables' => '',
);
}}}
The `bp_members_get_path_chunks()` helper function can be used to use a
regular array and have it converted to the above array (making sure slugs
can be customized).
During the BP Rewrites merge process (#4954), this function was misused
eight times.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8884>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list