WordPress/wp-admin/js
Dominik Schilling 6d2c70aa0d Customizer: Refresh nonces when a session expires and the user logs in again.
This was broken since 4.0 and the introduction of user session tokens. The nonces are now tied to session tokens as opposed to user IDs, and thus they change with each re-login.
Custom nonces can be added through the `customize_refresh_nonces` filter. On a successful refresh request the JavaScript API will trigger a `nonce-refresh` event. See widget's update nonce as an example.

props westonruter for initial patch.
fixes #31294.
Built from https://develop.svn.wordpress.org/trunk@32054


git-svn-id: http://core.svn.wordpress.org/trunk@32033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-06 15:10:27 +00:00
..
accordion.js Improve/introduce Customizer JavaScript models for Controls, Sections, and Panels. 2014-10-29 22:51:22 +00:00
accordion.min.js Improve/introduce Customizer JavaScript models for Controls, Sections, and Panels. 2014-10-29 22:51:22 +00:00
bookmarklet.js Press This: 2015-03-16 20:51:26 +00:00
bookmarklet.min.js Press This: 2015-03-16 20:51:26 +00:00
color-picker.js Color Picker: Allow to override mode and width values for Iris via wpColorPicker options. 2014-11-13 12:34:23 +00:00
color-picker.min.js Color Picker: Allow to override mode and width values for Iris via wpColorPicker options. 2014-11-13 12:34:23 +00:00
comment.js
comment.min.js
common.js Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
common.min.js Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
custom-background.js
custom-background.min.js
custom-header.js
customize-controls.js Customizer: Refresh nonces when a session expires and the user logs in again. 2015-04-06 15:10:27 +00:00
customize-controls.min.js Customizer: Refresh nonces when a session expires and the user logs in again. 2015-04-06 15:10:27 +00:00
customize-widgets.js Customizer: Refresh nonces when a session expires and the user logs in again. 2015-04-06 15:10:27 +00:00
customize-widgets.min.js Customizer: Refresh nonces when a session expires and the user logs in again. 2015-04-06 15:10:27 +00:00
dashboard.js QuickPress: Disable autocomplete for content, enable "Save Draft" button on load. 2014-07-29 15:34:16 +00:00
dashboard.min.js QuickPress: Disable autocomplete for content, enable "Save Draft" button on load. 2014-07-29 15:34:16 +00:00
edit-comments.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
edit-comments.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
editor-expand.js TinyMCE: 2015-03-11 19:12:28 +00:00
editor-expand.min.js TinyMCE: 2015-03-11 19:12:28 +00:00
editor.js Ensure that <figcaption> is not autop'd. 2015-01-16 00:27:21 +00:00
editor.min.js Ensure that <figcaption> is not autop'd. 2015-01-16 00:27:21 +00:00
farbtastic.js
gallery.js
gallery.min.js
image-edit.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
image-edit.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
inline-edit-post.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
inline-edit-post.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
inline-edit-tax.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
inline-edit-tax.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +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 imporvements. 2014-08-04 20:47:16 +00:00
language-chooser.min.js Language chooser imporvements. 2014-08-04 20:47:16 +00:00
link.js
link.min.js
media-gallery.js
media-gallery.min.js
media-upload.js The "old iframe media modal" has some pretty busted styles. Although this is a "deprecated" feature, clean up some of the broken styles. 2014-06-25 17:39:15 +00:00
media-upload.min.js The "old iframe media modal" has some pretty busted styles. Although this is a "deprecated" feature, clean up some of the broken styles. 2014-06-25 17:39:15 +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 Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
nav-menu.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
password-strength-meter.js
password-strength-meter.min.js
plugin-install.js Update more instances of default admin blues and grays. 2015-04-05 21:20:27 +00:00
plugin-install.min.js Update more instances of default admin blues and grays. 2015-04-05 21:20:27 +00:00
post.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
post.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
postbox.js Editor scrolling: set max-width: 100% for the text editor clone instead of always resizing it. See #29246. 2014-08-18 01:13:16 +00:00
postbox.min.js Editor scrolling: set max-width: 100% for the text editor clone instead of always resizing it. See #29246. 2014-08-18 01:13:16 +00:00
press-this.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
press-this.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
revisions.js Revisions: Fix initial state of compareTwoMode. 2014-12-12 09:54:25 +00:00
revisions.min.js Revisions: Fix initial state of compareTwoMode. 2014-12-12 09:54:25 +00:00
set-post-thumbnail.js
set-post-thumbnail.min.js
svg-painter.js
svg-painter.min.js
tags-box.js When saving post, ensure that non-hierarchical taxonomy input is defined before attempting to parse it. 2015-03-26 01:23:28 +00:00
tags-box.min.js When saving post, ensure that non-hierarchical taxonomy input is defined before attempting to parse it. 2015-03-26 01:23:28 +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 screen: remove extra debounce when searching. 2015-04-03 02:37:32 +00:00
theme.min.js Themes screen: remove extra debounce when searching. 2015-04-03 02:37:32 +00:00
updates.js Remove Shiny Bulk Updates 2015-04-06 01:21:26 +00:00
updates.min.js Remove Shiny Bulk Updates 2015-04-06 01:21:26 +00:00
user-profile.js When creating a new user, pasting a password should update the password strength indicator. 2015-02-20 13:05:27 +00:00
user-profile.min.js When creating a new user, pasting a password should update the password strength indicator. 2015-02-20 13:05:27 +00:00
user-suggest.js
user-suggest.min.js
widgets.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
widgets.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
word-count.js
word-count.min.js
wp-fullscreen.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
wp-fullscreen.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
xfn.js
xfn.min.js