Make WordPress Core

Opened 2 weeks ago

Last modified 2 weeks ago

#62546 new defect (bug)

Duplicate menu-top-first class in admin menu

Reported by: kkmuffme's profile kkmuffme Owned by:
Milestone: Awaiting Review Priority: normal
Severity: trivial Version:
Component: Administration Keywords: has-patch has-unit-tests
Focuses: Cc:

Description

the "menu-top-first" class is there twice (just open /wp-admin/)

<li class="wp-first-item wp-has-submenu wp-has-current-submenu wp-menu-open menu-top menu-top-first menu-icon-dashboard menu-top-first" id="menu-dashboard">

Same issue also here:

<a href='index.php' class="wp-first-item wp-has-submenu wp-has-current-submenu wp-menu-open menu-top menu-top-first menu-icon-dashboard menu-top-first">

Attachments (1)

dashboard.jpg (1008.0 KB) - added by karthickmurugan 2 weeks ago.
Inspect Element screenshot of Dashboard

Download all attachments as: .zip

Change History (7)

#1 @sabernhardt
2 weeks ago

  • Component changed from Administration to Toolbar

#2 @sabernhardt
2 weeks ago

  • Component changed from Toolbar to Administration

My mistake. You meant the side admin menu.

@karthickmurugan
2 weeks ago

Inspect Element screenshot of Dashboard

#3 @karthickmurugan
2 weeks ago

  • Keywords reporter-feedback added

Hi @kkmuffme.,

I cannot find the exact issue that you have mentioned. The class you have mentioned is not duplicated. Please check the attached screenshot

#4 @abcd95
2 weeks ago

Hey @kkmuffme,

As @karthickmurugan demonstrated, even I couldn't find the duplication of the "menu-top-first" class, neither in the codebase nor after inspecting the admin menu page.

Can you please provide a specific location or screenshot of the page where you have encountered this issue?

This ticket was mentioned in PR #7888 on WordPress/wordpress-develop by @kkmuffme.


2 weeks ago
#5

  • Keywords has-patch has-unit-tests added
Note: See TracTickets for help on using tickets.