[wp-trac] [WordPress Trac] #45733: Identical nav menu labels prevent Customizer from loading
WordPress Trac
noreply at wordpress.org
Sat Dec 22 16:12:52 UTC 2018
#45733: Identical nav menu labels prevent Customizer from loading
--------------------------+------------------------------
Reporter: brianburton | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 5.0.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by joyously):
I'm not sure why you think calling `wp_create_nav_menu( 'Super Navigation'
)` would work anyway. This example is using the string that was
translated, not the ID that was registered.
And please don't gloss over the fact that themes should not write to any
options in the database except their own. They should not have side
effects in the database. They can come and go at any time. But I will
assume that you will be doing this code in a plugin, not a theme.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45733#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list