Jetpack Search: Duplicate "Search" menu item on Atomic sites #21443
Labels
[Feature] Masterbar
WordPress.com Toolbar and Dashboard customizations
nav-unification
[Pri] Normal
[Type] Bug
When a feature is broken and / or not performing as intended
Impacted plugin
Jetpack, None / Other
Steps to Reproduce
Load an atomic site on calypso/wpcom,
In the Jetpack submenu you'll see two search options:
And you'll get this error in the console as a sideeffect (I'm guessing we key these using the menu item text):
A clear and concise description of what you expected to happen.
What actually happened
The console warning + two menu options, loading different search screens:
Other information
This could have been active for a while, add_jetpack_menu is adding the calypso route menu item and Jetpack_Search_Customberg is adding the wp-admin page.
I'm guessing the wp-admin menu should only be shown to Jetpack .org users and (I think) needs to be moved to class.jetpack-admin-menu.php or at least hidden in class.wp-admin-menu.php.
cc @JasonMoon re #20282
Operating System
No response
OS Version
all
Browser
Other / Not applicable
Browser Version(s)
all
Also tracking this in wp-calypso
Automattic/wp-calypso#56741
The text was updated successfully, but these errors were encountered: