WordPress/wp-admin/js
Eric Lewis 2bfc0f5218 Menus: Allow larger menus to be created in the Edit Menu screen.
In the Edit Menu screen, each menu item creates 11 form input elements. In menus with more than 71 menu items, often items after the 71st weren't saved. This was because PHP's runtime configuration `max_input_vars` default value is 1000. Large menus exceed this, so PHP didn't populate the `$_POST` superglobal for the latter menu items.

The entire form is now JSON-encoded into a single input which populates `$_POST` manually on form submission.

This was attempted previously in [36506] which was reverted in [36507]. Some form fields were not being slurped into the form's JSON representation, and it did not scale for a site with many posts. This approach fixes those problems.

Props ocean90, afercia.
See #14134.

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


git-svn-id: http://core.svn.wordpress.org/trunk@36477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-11 19:08:27 +00:00
..
accordion.js Menu customizer: More clearly separate search results from available items. 2015-07-29 23:40:25 +00:00
accordion.min.js Menu customizer: More clearly separate search results from available items. 2015-07-29 23:40:25 +00:00
bookmarklet.js Press This: Check the embeds list against all of the oembed providers. 2015-06-18 00:12:26 +00:00
bookmarklet.min.js Press This: Check the embeds list against all of the oembed providers. 2015-06-18 00:12:26 +00:00
color-picker.js Color Picker: when opening and closing, toggle a `wp-picker-active` class on the wrapper. 2015-10-13 01:08:25 +00:00
color-picker.min.js Color Picker: when opening and closing, toggle a `wp-picker-active` class on the wrapper. 2015-10-13 01:08:25 +00:00
comment.js Comment status box: Move focus back to Edit link when changing the date. 2015-07-26 02:26:24 +00:00
comment.min.js Comment status box: Move focus back to Edit link when changing the date. 2015-07-26 02:26:24 +00:00
common.js Accessibility: Remove title attributes from the Menus screen. 2016-01-22 14:26:27 +00:00
common.min.js Accessibility: Remove title attributes from the Menus screen. 2016-01-22 14:26:27 +00:00
custom-background.js
custom-background.min.js
custom-header.js
customize-controls.js Customizer: Export `nonce`, `theme`, and `url` app settings in preview as exported in pane. 2016-01-27 17:55:26 +00:00
customize-controls.min.js Customizer: Export `nonce`, `theme`, and `url` app settings in preview as exported in pane. 2016-01-27 17:55:26 +00:00
customize-nav-menus.js Customizer: Fix searching for available nav menu items by updating reference to nonce. 2016-02-01 21:36:28 +00:00
customize-nav-menus.min.js Customizer: Fix searching for available nav menu items by updating reference to nonce. 2016-02-01 21:36:28 +00:00
customize-widgets.js Customizer: Export `nonce`, `theme`, and `url` app settings in preview as exported in pane. 2016-01-27 17:55:26 +00:00
customize-widgets.min.js Customizer: Export `nonce`, `theme`, and `url` app settings in preview as exported in pane. 2016-01-27 17:55:26 +00:00
dashboard.js JS: in event callbacks replace the very outdated `return false` with `preventDefault()`. 2015-10-09 01:27:27 +00:00
dashboard.min.js JS: in event callbacks replace the very outdated `return false` with `preventDefault()`. 2015-10-09 01:27:27 +00:00
edit-comments.js jQuery: Replace the use of the `.size()` method with the `.length` property. 2016-01-13 16:17:27 +00:00
edit-comments.min.js jQuery: Replace the use of the `.size()` method with the `.length` property. 2016-01-13 16:17:27 +00:00
editor-expand.js Pinking Shears: Remove some errant non-breaking spaces from a few JavaScript files. 2015-11-12 12:04:27 +00:00
editor-expand.min.js Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
editor.js Editor: Correctly indent definition lists when switching from the visual to the text editor. 2015-12-17 23:06:25 +00:00
editor.min.js Editor: Correctly indent definition lists when switching from the visual to the text editor. 2015-12-17 23:06:25 +00:00
farbtastic.js
gallery.js JS: in event callbacks replace the very outdated `return false` with `preventDefault()`. 2015-10-09 01:27:27 +00:00
gallery.min.js JS: in event callbacks replace the very outdated `return false` with `preventDefault()`. 2015-10-09 01:27:27 +00:00
image-edit.js Media: make the Image Editor usable with a keyboard. 2016-01-08 19:13:26 +00:00
image-edit.min.js Media: make the Image Editor usable with a keyboard. 2016-01-08 19:13:26 +00:00
inline-edit-post.js Quick/Bulk Edit: Remove a no more used jQuery loop for unsupported post formats. 2016-01-21 22:50:25 +00:00
inline-edit-post.min.js Quick/Bulk Edit: Remove a no more used jQuery loop for unsupported post formats. 2016-01-21 22:50:25 +00:00
inline-edit-tax.js Accessibility: Improve focus handling on the Taxonomies Quick Edit. 2016-01-14 23:03:26 +00:00
inline-edit-tax.min.js Accessibility: Improve focus handling on the Taxonomies Quick Edit. 2016-01-14 23:03:26 +00:00
iris.min.js Update the Iris color picker to version 1.0.7. 2014-11-30 11:44:22 +00:00
language-chooser.js
language-chooser.min.js
link.js
link.min.js
media-gallery.js
media-gallery.min.js
media-upload.js jQuery: Replace the use of the `.size()` method with the `.length` property. 2016-01-13 16:17:27 +00:00
media-upload.min.js jQuery: Replace the use of the `.size()` method with the `.length` property. 2016-01-13 16:17:27 +00:00
media.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
media.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
nav-menu.js Menus: Allow larger menus to be created in the Edit Menu screen. 2016-02-11 19:08:27 +00:00
nav-menu.min.js Menus: Allow larger menus to be created in the Edit Menu screen. 2016-02-11 19:08:27 +00:00
password-strength-meter.js
password-strength-meter.min.js
plugin-install.js jQuery: Replace the use of the `.size()` method with the `.length` property. 2016-01-13 16:17:27 +00:00
plugin-install.min.js jQuery: Replace the use of the `.size()` method with the `.length` property. 2016-01-13 16:17:27 +00:00
post.js jQuery: Replace the use of the `.size()` method with the `.length` property. 2016-01-13 16:17:27 +00:00
post.min.js jQuery: Replace the use of the `.size()` method with the `.length` property. 2016-01-13 16:17:27 +00:00
postbox.js Administration: After [36295], mark `postBoxL10n` as a global to please JSHint. 2016-01-14 08:40:26 +00:00
postbox.min.js Administration: Add a "Drag boxes here" message to empty dashboard meta boxes so it's clear to users that it's possible to drag meta boxes into empty spaces. 2016-01-14 04:13:26 +00:00
press-this.js Accessibility: add missing `alt` attributes to a gaggle of `<img>`s. 2015-11-07 16:12:27 +00:00
press-this.min.js Accessibility: add missing `alt` attributes to a gaggle of `<img>`s. 2015-11-07 16:12:27 +00:00
revisions.js Pinking Shears: Remove some errant non-breaking spaces from a few JavaScript files. 2015-11-12 12:04:27 +00:00
revisions.min.js Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
set-post-thumbnail.js Revert a part of [32673] that caused a fatal error with `SCRIPT_DEBUG` disabled. 2015-06-01 04:14:25 +00:00
set-post-thumbnail.min.js Revert a part of [32673] that caused a fatal error with `SCRIPT_DEBUG` disabled. 2015-06-01 04:14:25 +00:00
svg-painter.js
svg-painter.min.js Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
tags-box.js Tags: Avoid a double trailing space after tags separator in auto-suggest. 2015-10-20 16:00:30 +00:00
tags-box.min.js Tags: Avoid a double trailing space after tags separator in auto-suggest. 2015-10-20 16:00:30 +00:00
tags.js Emoji: Instead of having custom hooks for Ajax callbacks, use MutationObserver to re-parse any changed elements in the DOM. 2015-03-12 12:52:26 +00:00
tags.min.js Emoji: Instead of having custom hooks for Ajax callbacks, use MutationObserver to re-parse any changed elements in the DOM. 2015-03-12 12:52:26 +00:00
theme.js Themes: Clear floated theme cards on Themes page. 2016-01-12 17:13:29 +00:00
theme.min.js Themes: Clear floated theme cards on Themes page. 2016-01-12 17:13:29 +00:00
updates.js Plugins: Use plugin file rather than slug as identifier 2016-01-08 17:48:28 +00:00
updates.min.js Plugins: Use plugin file rather than slug as identifier 2016-01-08 17:48:28 +00:00
user-profile.js Passwords: Hide weak password confirmation checkbox when password strength improves. 2015-12-11 21:54:27 +00:00
user-profile.min.js Passwords: Hide weak password confirmation checkbox when password strength improves. 2015-12-11 21:54:27 +00:00
user-suggest.js
user-suggest.min.js
widgets.js Widgets: add a button to delete all inactive widgets simultaneously for better UX. 2015-10-21 05:23:26 +00:00
widgets.min.js Widgets: add a button to delete all inactive widgets simultaneously for better UX. 2015-10-21 05:23:26 +00:00
word-count.js Editor: word count: better names for types. 2015-07-27 11:19:26 +00:00
word-count.min.js Editor: word count: better names for types. 2015-07-27 11:19:26 +00:00
wp-fullscreen-stub.js Editor: 2015-06-01 17:38:29 +00:00
wp-fullscreen-stub.min.js Editor: 2015-06-01 17:38:29 +00:00
xfn.js
xfn.min.js