WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#8421 closed defect (bug) (fixed)

Active submenu not highlighted when editting post, page, comment or user

Reported by: SimonK Owned by:
Milestone: 2.7 Priority: low
Severity: trivial Version: 2.7
Component: UI Keywords: menu admin highlight
Focuses: Cc:

Description

Active submenu is not highlighted when editing post, page, comment or user.

Posts menu should be highlighted on post.php.

Pages menu should be highlighted on page.php.

Comments menu should be highlighted on comment.php.

Users menu should be highlighted on user-edit.php.

Change History (6)

comment:1 ryan5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [9959]) Don't reset if it has been explicitly set. Fixes active parent highliting. fixes #8421

comment:2 ryan5 years ago

That fixes it for me. Hopefully there are no unintended consequences. I ran through my set of menu testing plugins and didn't notice any breakage.

comment:3 SimonK5 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Editing a page (page.php) highlights the Posts submenu now. Others are working correct over here.

comment:4 SimonK5 years ago

Same goes for editting links by the way (link.php), I missed that yesterday. Posts is highlighted on link.php, should be Links.

comment:5 ryan5 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [9966]) Fix parents for page and link editors. fixes #8421

comment:6 ryan5 years ago

(In [9967]) Fix menu parents. see #8421

Note: See TracTickets for help on using tickets.