[wp-trac] [WordPress Trac] #44460: Menu Items Conflict
WordPress Trac
noreply at wordpress.org
Mon Jun 25 17:38:03 UTC 2018
#44460: Menu Items Conflict
--------------------------+-----------------------------
Reporter: wlpdrpat | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
This issue was fixed in version 4.4 per
https://core.trac.wordpress.org/ticket/23316
The latest version of WP the issue resurfaced.
function add_menu_page position values that conflict will either hide
primary side menu items or the side menu items will hide the new menu
pages:
Defining the position value as 0 or 1 causes the new menu item to hide the
Dashboard menu item.
Defining the position value as 2 causes the Dashboard menu item to hide
the new menu item.
Defining the position value as 3 or 4 causes the new menu item to hide the
Posts menu item.
Defining the position value as 5 causes the Posts menu item to hide the
new menu item.
I didn't research it any further but there is definitely a reintroduction
of the bug that was previously resolved.
There is no method of defining position to display a new menu item above
Dashboard or between Dashboard and Posts. If 2 menu items are created with
defined position values between 0-4 then both the Dashboard and Posts menu
item are hidden or hide the new menu items depending on the defined
values.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44460>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list