This pull request aims to fix the Orders menu item in HPOS by repositioning the menu, highlighting it correctly, and re-adding the familiar bubble with the number of orders needing processing.
Closes #1326 , closes #1325
1326
1325
Validation
Visit a WX site.
Navigate to Settings > WooCommerce > Advanced > Features and ensure that HPOS is enabled; if not, enable it.
Refresh the page and notice the "WooCommerce > Orders" menu item (along with a top-level "Orders" menu that points to the CPT.)
Apply this patch.
Notice that the "Orders" menu item appears on the top level.
Navigate to "Orders > Orders" and "Orders > Add New" to ensure that the menu highlighting works as expected.
Specification
This pull request aims to fix the Orders menu item in HPOS by repositioning the menu, highlighting it correctly, and re-adding the familiar bubble with the number of orders needing processing.
Closes #1326 , closes #1325
1326
1325
Validation