[wp-trac] [WordPress Trac] #32760: Customizer Menus: cannot save a menu with the same name as an existing menu
WordPress Trac
noreply at wordpress.org
Mon Jun 29 14:36:49 UTC 2015
#32760: Customizer Menus: cannot save a menu with the same name as an existing menu
-------------------------------------+--------------------------
Reporter: designsimply | Owner: westonruter
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.3
Component: Customize | Version: trunk
Severity: major | Resolution:
Keywords: has-patch needs-testing | Focuses: javascript
-------------------------------------+--------------------------
Comment (by tywayne):
I may not have explained my suggestion very well - I was thinking that if
we're marking an empty value as invalid, we should also mark it invalid if
the value only contains spaces (which would actually produce the same
results in the UI as an empty value).
The updated patch does work in that it trims spaces and replaces with
"(unnamed)", but did not produce the behavior I was expecting.
I realize that isn't exactly related to this specific ticket though and
would be happy to just create a new ticket/patch to suggest it, as it
could also be applied to the check for value in Custom Link text.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32760#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list