[buddypress-trac] [BuddyPress Trac] #7308: Make function "bp_core_menu_highlight_parent_page" multisite-aware
buddypress-trac
noreply at wordpress.org
Wed Sep 7 22:56:44 UTC 2022
#7308: Make function "bp_core_menu_highlight_parent_page" multisite-aware
--------------------------+---------------------
Reporter: martinutopia | Owner: imath
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 11.0.0
Component: Core | Version: 2.7
Severity: normal | Resolution: fixed
Keywords: |
--------------------------+---------------------
Changes (by imath):
* owner: (none) => imath
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"13322" 13322]:
{{{
#!CommitTicketReference repository="" revision="13322"
Only filter pages/menu list CSS classes on the root blog
To make sure a pages list or a menu highlight the current BuddyPress page
or the parent/ancestor of a displayed component' single item, we use a
filter that should only run on the WordPress site BuddyPress is activated.
Taking this precaution will save our users from potential warning notices
that were brought to our attention when BuddyPress is network activated.
Props robinwpdeveloper, martinutopia, DJPaul, rudlinkon
Closes https://github.com/buddypress/buddypress/pull/22
Fixes #7308
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7308#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list