WordPress/wp-admin/css
Weston Ruter 912b434198 Customizer: Fix saving menus with empty names or names that are already used.
Adds validation for initially-supplied nav menu name, blocking empty names from being supplied. If later an empty name is supplied and the nav menu is saved, the name "(unnamed)" will be supplied instead and supplied back to the client. If a name is supplied for the menu which is currently used by another menu, then the name conflict is resolved by adding a numerical counter similar to how `post_name` conflicts are resolved. Includes unit tests.

Fixes #32760.


Built from https://develop.svn.wordpress.org/trunk@33071


git-svn-id: http://core.svn.wordpress.org/trunk@33042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-03 20:47:25 +00:00
..
colors Use a less element-specific class name for links within page titles. 2015-07-03 16:42:24 +00:00
about-rtl.css After [32974], tweak some CSS for focus, etc. 2015-06-27 23:13:24 +00:00
about.css After [32974], tweak some CSS for focus, etc. 2015-06-27 23:13:24 +00:00
admin-menu-rtl.css Toolbar: Allow submenus to be closed with a second tap on touch devices. 2015-07-03 03:29:25 +00:00
admin-menu.css Toolbar: Allow submenus to be closed with a second tap on touch devices. 2015-07-03 03:29:25 +00:00
color-picker-rtl.css Update more instances of default admin blues and grays. 2015-04-05 21:20:27 +00:00
color-picker-rtl.min.css Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
color-picker.css Update more instances of default admin blues and grays. 2015-04-05 21:20:27 +00:00
color-picker.min.css Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
common-rtl.css Use a less element-specific class name for links within page titles. 2015-07-03 16:42:24 +00:00
common.css Use a less element-specific class name for links within page titles. 2015-07-03 16:42:24 +00:00
customize-controls-rtl.css Customizer: Accessibility enhancements. 2015-07-03 20:19:25 +00:00
customize-controls-rtl.min.css Customizer: Accessibility enhancements. 2015-07-03 20:19:25 +00:00
customize-controls.css Customizer: Accessibility enhancements. 2015-07-03 20:19:25 +00:00
customize-controls.min.css Customizer: Accessibility enhancements. 2015-07-03 20:19:25 +00:00
customize-nav-menus-rtl.css Customizer: Fix saving menus with empty names or names that are already used. 2015-07-03 20:47:25 +00:00
customize-nav-menus-rtl.min.css Customizer: Fix saving menus with empty names or names that are already used. 2015-07-03 20:47:25 +00:00
customize-nav-menus.css Customizer: Fix saving menus with empty names or names that are already used. 2015-07-03 20:47:25 +00:00
customize-nav-menus.min.css Customizer: Fix saving menus with empty names or names that are already used. 2015-07-03 20:47:25 +00:00
customize-widgets-rtl.css Customizer: Fresh colors for Reorder Done button. 2015-07-01 00:19:24 +00:00
customize-widgets-rtl.min.css Customizer: Fresh colors for Reorder Done button. 2015-07-01 00:19:24 +00:00
customize-widgets.css Customizer: Fresh colors for Reorder Done button. 2015-07-01 00:19:24 +00:00
customize-widgets.min.css Customizer: Fresh colors for Reorder Done button. 2015-07-01 00:19:24 +00:00
dashboard-rtl.css Fix the dismissable notice button focus style, broken in [32475]. 2015-06-27 15:07:24 +00:00
dashboard.css Fix the dismissable notice button focus style, broken in [32475]. 2015-06-27 15:07:24 +00:00
deprecated-media-rtl.css Update more instances of default admin blues and grays. 2015-04-05 21:20:27 +00:00
deprecated-media-rtl.min.css Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
deprecated-media.css Update more instances of default admin blues and grays. 2015-04-05 21:20:27 +00:00
deprecated-media.min.css Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
edit-rtl.css After [32974], tweak some CSS for focus, etc. 2015-06-27 23:13:24 +00:00
edit.css After [32974], tweak some CSS for focus, etc. 2015-06-27 23:13:24 +00:00
farbtastic-rtl.css Stop using .rtl classes, instead relying on flipping LTR CSS to RTL. 2013-11-17 16:18:11 +00:00
farbtastic.css Stop using .rtl classes, instead relying on flipping LTR CSS to RTL. 2013-11-17 16:18:11 +00:00
forms-rtl.css Add missing prefixed attributes, introduced in [33023]. 2015-07-02 17:40:25 +00:00
forms.css Add missing prefixed attributes, introduced in [33023]. 2015-07-02 17:40:25 +00:00
ie-rtl.css List tables: Select All should not be a column header. 2015-06-28 05:46:25 +00:00
ie-rtl.min.css Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
ie.css List tables: Select All should not be a column header. 2015-06-28 05:46:25 +00:00
ie.min.css Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
install-rtl.css Update more instances of default admin blues and grays. 2015-04-05 21:20:27 +00:00
install-rtl.min.css Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
install.css Update more instances of default admin blues and grays. 2015-04-05 21:20:27 +00:00
install.min.css Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
l10n-rtl.css l10n: Update `wp_get_installed_translations()` to support variants of a language. 2015-07-01 15:43:24 +00:00
l10n.css l10n: Update `wp_get_installed_translations()` to support variants of a language. 2015-07-01 15:43:24 +00:00
list-tables-rtl.css List tables: A better responsive view. 2015-07-01 01:31:25 +00:00
list-tables.css List tables: A better responsive view. 2015-07-01 01:31:25 +00:00
login-rtl.css Use WordPress' default focus styles for links on login screens. 2015-06-02 05:51:27 +00:00
login-rtl.min.css Add missing prefixed attributes, introduced in [33023]. 2015-07-02 17:40:25 +00:00
login.css Use WordPress' default focus styles for links on login screens. 2015-06-02 05:51:27 +00:00
login.min.css Add missing prefixed attributes, introduced in [33023]. 2015-07-02 17:40:25 +00:00
media-rtl.css Image edit: Consistent whitespace for the side boxes. 2015-06-30 15:19:25 +00:00
media.css Image edit: Consistent whitespace for the side boxes. 2015-06-30 15:19:25 +00:00
nav-menus-rtl.css Customizer: Increase color contrast ratio for menu locations text. 2015-06-28 04:45:25 +00:00
nav-menus.css Customizer: Increase color contrast ratio for menu locations text. 2015-06-28 04:45:25 +00:00
press-this-editor-rtl.css Use https for Google API external libraries. 2015-06-18 15:51:26 +00:00
press-this-editor.css Use https for Google API external libraries. 2015-06-18 15:51:26 +00:00
press-this-rtl.css Press This: 2015-06-30 03:58:27 +00:00
press-this-rtl.min.css Press This: 2015-06-30 03:58:27 +00:00
press-this.css Press This: 2015-06-30 03:58:27 +00:00
press-this.min.css Press This: 2015-06-30 03:58:27 +00:00
revisions-rtl.css Update more instances of default admin blues and grays. 2015-04-05 21:20:27 +00:00
revisions.css Update more instances of default admin blues and grays. 2015-04-05 21:20:27 +00:00
site-icon-rtl.css Site Icon: Improve responsiveness for small screen devices. 2015-07-02 21:16:24 +00:00
site-icon.css Site Icon: Improve responsiveness for small screen devices. 2015-07-02 21:16:24 +00:00
themes-rtl.css Don't let wp-pointers cover the theme detail modal. 2015-07-03 17:05:24 +00:00
themes.css Don't let wp-pointers cover the theme detail modal. 2015-07-03 17:05:24 +00:00
widgets-rtl.css Widgets: 2015-05-10 00:32:31 +00:00
widgets.css Widgets: 2015-05-10 00:32:31 +00:00
wp-admin-rtl.css Introducing Site Icon, favicon management for WordPress. 2015-06-29 12:58:25 +00:00
wp-admin-rtl.min.css Don't let wp-pointers cover the theme detail modal. 2015-07-03 17:05:24 +00:00
wp-admin.css Introducing Site Icon, favicon management for WordPress. 2015-06-29 12:58:25 +00:00
wp-admin.min.css Don't let wp-pointers cover the theme detail modal. 2015-07-03 17:05:24 +00:00