[wp-trac] [WordPress Trac] #62546: Duplicate menu-top-first class in admin menu
WordPress Trac
noreply at wordpress.org
Mon Nov 25 11:36:56 UTC 2024
#62546: Duplicate menu-top-first class in admin menu
--------------------------------------+------------------------------
Reporter: kkmuffme | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: trivial | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Changes (by kkmuffme):
* keywords: reporter-feedback has-patch has-unit-tests => has-patch has-
unit-tests
Comment:
@karthickmurugan it depends on the which menu's are displayed.
Issue arises from https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/menu.php#L24 which gets the duplicate
class added from https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/includes/menu.php#L234 or
https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-
admin/includes/menu.php#L251
Created a PR to fix it
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62546#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list