WordPress/wp-admin
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
..
css Update more instances of default admin blues and grays. 2015-04-05 21:20:27 +00:00
images Update more instances of default admin blues and grays. 2015-04-05 21:20:27 +00:00
includes Update more instances of default admin blues and grays. 2015-04-05 21:20:27 +00:00
js Customizer: Refresh nonces when a session expires and the user logs in again. 2015-04-06 15:10:27 +00:00
maint
network After [31941], use the decoupled strings from wp-admin/network/themes.php in wp-admin/network/site-themes.php as well. 2015-04-05 14:58:27 +00:00
user
about.php
admin-ajax.php
admin-footer.php Accessibility: Add landmark roles to WordPress admin areas. 2015-04-01 13:17:27 +00:00
admin-functions.php
admin-header.php Accessibility: Add landmark roles to WordPress admin areas. 2015-04-01 13:17:27 +00:00
admin-post.php
admin.php
async-upload.php
comment.php
credits.php
custom-background.php
custom-header.php
customize.php Customizer: Improve the overlay close button for iOS. 2015-04-02 17:16:28 +00:00
edit-comments.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
edit-form-advanced.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
edit-form-comment.php
edit-link-form.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
edit-tag-form.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
edit-tags.php Fix Docblock syntax for the taxonomy_parent_dropdown_args filter. 2015-04-04 14:13:27 +00:00
edit.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
export.php
freedoms.php
import.php
index.php
install-helper.php
install.php
link-add.php
link-manager.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
link-parse-opml.php Remove unnecessary echo(), add translator comment. 2015-04-02 19:01:27 +00:00
link.php
load-scripts.php
load-styles.php
media-new.php
media-upload.php Remove an extra indent from most of media-new.php. 2015-02-03 07:47:22 +00:00
media.php
menu-header.php Accessibility: Add landmark roles to WordPress admin areas. 2015-04-01 13:17:27 +00:00
menu.php
moderation.php
ms-admin.php
ms-delete-site.php
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
nav-menus.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
network.php Remove unused printf() on network setup screen. 2015-04-01 17:01:26 +00:00
options-discussion.php Add a more descriptive function summary for options_discussion_add_js(). 2015-04-04 14:16:27 +00:00
options-general.php Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
options-head.php
options-media.php
options-permalink.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
options-reading.php
options-writing.php
options.php
plugin-editor.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
plugin-install.php
plugins.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
post-new.php Admin globals: 2015-01-10 05:29:22 +00:00
post.php
press-this.php
profile.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
revision.php
setup-config.php
theme-editor.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
theme-install.php Accessibility improvements for Themes screen: fix keyboard events and callbacks for the Search field, increase trigger timeout a bit, improve Esc. key handling. 2015-04-03 02:32:28 +00:00
themes.php Accessibility improvements for Themes screen: fix keyboard events and callbacks for the Search field, increase trigger timeout a bit, improve Esc. key handling. 2015-04-03 02:32:28 +00:00
tools.php Press This: Use more accurate wording on Tools screen. 2015-04-02 01:30:28 +00:00
update-core.php
update.php Accessibility improvements for Themes screen: fix keyboard events and callbacks for the Search field, increase trigger timeout a bit, improve Esc. key handling. 2015-04-03 02:32:28 +00:00
upgrade-functions.php
upgrade.php
upload.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
user-edit.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
user-new.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
users.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
widgets.php Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00