[buddypress-trac] [BuddyPress Trac] #5997: Highlighting BP parent page in WP menu

buddypress-trac noreply at wordpress.org
Fri Jan 9 00:39:37 UTC 2015


#5997: Highlighting BP parent page in WP menu
--------------------------+---------------------
 Reporter:  r-a-y         |       Owner:  r-a-y
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.2
Component:  Core          |     Version:  2.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  commit        |
--------------------------+---------------------
Changes (by r-a-y):

 * owner:   => r-a-y
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"9322"]:
 {{{
 #!CommitTicketReference repository="" revision="9322"
 Properly highlight BuddyPress pages in a WordPress nav or page menu.

 r8932 attempted to address how BuddyPress pages are highlighted in a
 WordPress menu after the refactoring of `bp_core_load_template()` (see
 r8821).  r8932 resulted in declaring the BuddyPress parent page as the
 current page even when it wasn't.

 This commit removes this declaration and changes the highlighting method
 to rely on the WP nav and page menu filters.  This also fixes issues
 with highlighting the BP parent page when the root profiles feature is
 enabled (this previously did not work).

 Fixes #5997.
 }}}

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


More information about the buddypress-trac mailing list