Wordpress/src/wp-admin
Weston Ruter 304ab7c0e4 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@36414 602fd350-edb4-49c9-b593-d223f7449a82
2016-01-27 17:54:39 +00:00
..
css Accessibility: Improve the focus style on the Credits screen. 2016-01-26 22:37:41 +00:00
images Squish that .png a bit more. See [32994]. 2015-06-30 22:03:53 +00:00
includes Plugins: Clarify that mu-plugins can't be "active" in docs. 2016-01-26 00:31:08 +00:00
js Customizer: Export nonce, theme, and url app settings in preview as exported in pane. 2016-01-27 17:54:39 +00:00
maint Install/Upgrade: Keep indexing bots away until a site is ready to be seen. 2015-12-08 21:55:48 +00:00
network Allow searching for 0 throughout the admin. 2016-01-14 20:05:06 +00:00
user Ensure the requires for the admin bootstrap are documented in all wp-admin/user/ files. 2014-11-04 16:31:31 +00:00
about.php Introduce a new generic CSS clearfix utility class. 2016-01-05 13:37:56 +00:00
admin-ajax.php Themes: Add a Favorites tab to the Add Themes screen. 2015-11-04 21:48:43 +00:00
admin-footer.php Add @global annotations for wp-admin/*. 2015-05-28 21:40:27 +00:00
admin-functions.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:56:05 +00:00
admin-header.php Correct the title used on the user dashboard. 2015-06-24 00:36:40 +00:00
admin-post.php Superglobals: Revert [34059] until further notice. 2015-09-17 12:32:20 +00:00
admin.php Docs: Fix typo in wp-admin/admin.php. 2016-01-12 20:42:46 +00:00
async-upload.php Superglobals: Revert [34059] until further notice. 2015-09-17 12:32:20 +00:00
comment.php Comments: Remove orphaned closing td tag within cancel button of Moderate Comment screen. 2016-01-05 16:06:54 +00:00
credits.php Accessibility: Improve the focus style on the Credits screen. 2016-01-26 22:37:41 +00:00
custom-background.php callback is not a valid type in PHP, PSR-5, or phpDocumentor. callable should be used instead. 2015-09-25 23:57:46 +00:00
custom-header.php Docs: Various docblock corrections. 2016-01-10 01:25:44 +00:00
customize.php Customizer: Use "(Untitled)" as site title if blogname is empty. 2016-01-23 23:14:10 +00:00
edit-comments.php Allow searching for 0 throughout the admin. 2016-01-14 20:05:06 +00:00
edit-form-advanced.php Editor: Move 'Password protected' and 'Private' options description directly after 'Visibility' setting description. 2015-12-12 01:55:07 +00:00
edit-form-comment.php I18N: Use better context for comment statuses. 2015-12-13 19:10:04 +00:00
edit-link-form.php Bump H3 headings to H2 on the legacy Link Manager screen for better accessibility. 2015-10-14 17:31:29 +00:00
edit-tag-form.php Taxonomy: Introduce wp-admin/term.php for editing single terms. 2016-01-15 08:26:06 +00:00
edit-tags.php Taxonomy: Introduce wp-admin/term.php for editing single terms. 2016-01-15 08:26:06 +00:00
edit.php Allow searching for 0 throughout the admin. 2016-01-14 20:05:06 +00:00
export.php Export: Add a missing Oxford comma. 2015-12-31 19:32:06 +00:00
freedoms.php Introduce a new generic CSS clearfix utility class. 2016-01-05 13:37:56 +00:00
import.php Proper heading for admin screens. 2015-06-27 15:40:27 +00:00
index.php Accessibility: Remove title attributes from the Admin Dashboard. 2016-01-05 14:18:57 +00:00
install-helper.php Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places. 2015-10-14 23:43:10 +00:00
install.php Install: Only enqueue scripts when necessary. 2016-01-05 16:41:43 +00:00
link-add.php
link-manager.php Allow searching for 0 throughout the admin. 2016-01-14 20:05:06 +00:00
link-parse-opml.php Add @global annotations for wp-admin/*. 2015-05-28 21:40:27 +00:00
link.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:13:53 +00:00
load-scripts.php Script Loader: Add Etag: $wp_version header in load-scripts.php and load-styles.php. 2016-01-15 10:22:24 +00:00
load-styles.php CSS: Stop using wp-admin.min.css and instead queue the individual stylesheets up through load-styles.php. 2016-01-18 09:56:06 +00:00
media-new.php media-new.php, when using the browser uploader, if the result of uploading is a WP_Error - wp_die() with the error, instead of redirecting with a generic error. 2015-09-10 17:17:22 +00:00
media-upload.php Provide more helful feedback than just "Cheatin' uh?" for permission errors in wp-admin/media-upload.php. 2015-09-02 16:20:46 +00:00
media.php Use a less element-specific class name for links within page titles. 2015-07-03 16:41:18 +00:00
menu-header.php Docs: Document declaration of the $submenu_file global in wp-admin/menu-header.php. 2015-10-01 01:47:07 +00:00
menu.php Eliminate a db query when building the admin menu for non-privileged users. 2015-11-18 21:33:03 +00:00
moderation.php
ms-admin.php
ms-delete-site.php Trim trailing space from string in site delete confirmation 2015-07-01 16:30:34 +00:00
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php My Sites: Make "Create a New Site" link consistent with other "Add New" links. 2015-10-09 03:49:24 +00:00
nav-menus.php Accessibility: Remove title attributes from the Menus screen. 2016-01-22 14:25:58 +00:00
network.php Network Setup: don't use <code> in translation strings in wp-admin/network files. 2015-09-18 18:17:26 +00:00
options-discussion.php Don't force comment pagination. 2015-10-21 16:25:31 +00:00
options-general.php After [36263] escape filterable HTML output. 2016-01-12 08:57:41 +00:00
options-head.php
options-media.php Remove <code> tag from translatable string in wp-admin/options-media.php. 2015-11-06 00:27:51 +00:00
options-permalink.php Accessibility: Don't mark up "URL" as an abbreviation. 2016-01-01 12:10:00 +00:00
options-reading.php Move ad hoc Options functions to wp-admin/includes/options.php: 2015-09-10 21:44:29 +00:00
options-writing.php Accessibility: Don't mark up "URL" as an abbreviation. 2016-01-01 12:10:00 +00:00
options.php Revert [35336] and [35337]. 2015-11-18 20:29:44 +00:00
plugin-editor.php Replace get_bloginfo( 'wpurl' ) with admin_url() in plugin editor. 2015-10-13 02:04:14 +00:00
plugin-install.php List Tables/WP_Screen: in WP_Screen, add methods to store, retrieve, and render screen reader text, primarily used by list table screens. 2015-10-07 01:27:01 +00:00
plugins.php Allow searching for 0 throughout the admin. 2016-01-14 20:05:06 +00:00
post-new.php Provide more helpful feedback than just "Cheatin' uh?" for permission errors in wp-admin/post-new.php. 2015-09-02 18:35:05 +00:00
post.php Dashboard: use the create_posts cap on the post type object when determining if the Quick Press widget can be displayed. 2015-10-20 05:48:11 +00:00
press-this.php Provide more helpful feedback than just "Cheatin' uh?" for permission errors in wp-admin/press-this.php. 2015-09-02 18:37:28 +00:00
profile.php
revision.php Revisions screen: change language from "Return to post editor" to "Return to editor" - more generic for usage by custom post types. 2015-09-09 03:22:36 +00:00
setup-config.php Fix typo in wp-admin/setup-config.php. 2015-12-12 01:44:56 +00:00
term.php Taxonomy: Introduce wp-admin/term.php for editing single terms. 2016-01-15 08:26:06 +00:00
theme-editor.php Theme Editor: Repurpose the 'wp_theme_editor_filetypes' filter added in [35134] to actually filter file types instead of files. 2015-10-15 02:19:45 +00:00
theme-install.php Themes: Clear floated theme cards on Themes page. 2016-01-12 17:12:17 +00:00
themes.php Themes: Clear floated theme cards on Themes page. 2016-01-12 17:12:17 +00:00
tools.php Bump H3 headings to H2 on Tools screen for better accessibility. 2015-08-31 03:31:38 +00:00
update-core.php Core Upgrader: Add a locking mechanism to avoid two concurrent updates of WordPress occuring. 2016-01-19 05:06:46 +00:00
update.php Plugins: Don't request all fields via plugins_api( 'plugin_information' ) for plugin installs and update checks. 2015-09-26 15:49:06 +00:00
upgrade-functions.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:56:05 +00:00
upgrade.php Install/Upgrade: Keep indexing bots away until a site is ready to be seen. 2015-12-08 21:55:48 +00:00
upload.php Media: Update some attach/detach strings in the columns view. 2016-01-15 22:28:15 +00:00
user-edit.php Users: Only show the profile picture if 'Show Avatars' option in Discussion Settings is enabled. 2015-11-11 19:40:44 +00:00
user-new.php Users: Allow to create users without sending an email to the new user. 2015-11-25 22:37:35 +00:00
users.php Allow searching for 0 throughout the admin. 2016-01-14 20:05:06 +00:00
widgets.php Widgets: Show the "Clear Inactive Widgets" button only after the sidebar with inactive widgets. 2016-01-20 21:54:01 +00:00