WordPress/wp-admin/js
Weston Ruter c376477265 Customizer: Export nonce, theme, and url app settings in preview as exported in pane.
* Introduce `WP_Customize_Manager::get_nonces()` to consolidate logic for retrieving nonces.
* Export nonces centrally in `wp.customize.settings.nonce` with each request and update nav menus preview to utilize.
* Send updated nonces to preview upon `nonce-refresh`.
* Request full preview refresh if Nav Menu selective refresh request fails (e.g. due to bad nonce).
* Update nav menus and widgets in Customizer to utilize `customize_refresh_nonces` for exporting nonces and keeping them up to date.

See #27355.
Fixes #35617.

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


git-svn-id: http://core.svn.wordpress.org/trunk@36381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-27 17:55:26 +00:00
..
accordion.js
accordion.min.js
bookmarklet.js
bookmarklet.min.js
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.min.js
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: Export nonce, theme, and url app settings in preview as exported in pane. 2016-01-27 17:55:26 +00:00
customize-nav-menus.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-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
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
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
media.min.js
nav-menu.js Accessibility: Remove title attributes from the Menus screen. 2016-01-22 14:26:27 +00:00
nav-menu.min.js Accessibility: Remove title attributes from the Menus screen. 2016-01-22 14:26: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
set-post-thumbnail.js
set-post-thumbnail.min.js
svg-painter.js
svg-painter.min.js
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
tags.min.js
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
word-count.min.js
wp-fullscreen-stub.js
wp-fullscreen-stub.min.js
xfn.js
xfn.min.js