Move Jetpack to the Dashboard item so it becomes a sub menu item.
Move the item back to its original menu.
The original Jetpack Icon is lost until you refresh the page.
Scenario 2:
Move the Add New item from the Pages item to the top level.
The item gets an unfitting gear icon instead of inheriting the icon from Pages
Maybe this can be solved by adding a data attribute with the original values on init. It needs to support custom SVG icons like from Jetpack and WordPress SEO though. However, this information should be available in the array (Index 6 of top level items)
Scenario 1:
Scenario 2:
Maybe this can be solved by adding a data attribute with the original values on init. It needs to support custom SVG icons like from Jetpack and WordPress SEO though. However, this information should be available in the array (Index 6 of top level items)