WordPress/wp-admin/includes
aduth 9cf4ee65a7 Scripts: Assign api-fetch nonce with corrected rest_nonce.
As of `@wordpress/api-fetch@3.0.0` (introduced in 44812), the `apiFetch` nonce middleware must have its nonce value assigned explicitly, and will no longer listen for heartbeat ticks automatically. This changeset adds an inline script for the default registration of the `api-fetch` script handle to assign the nonce value in response to the heartbeat action. In doing so, it removes the now-unused, misnamed `rest-nonce` property from the heartbeat response, whose original introduction served as temporary compatibility with earlier versions of `@wordpress/api-fetch`.

See https://github.com/WordPress/gutenberg/pull/13451
See #45113

Props adamsilverstein, nerrad .
Fixes #46107 .

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


git-svn-id: http://core.svn.wordpress.org/trunk@44780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-20 20:53:50 +00:00
..
admin-filters.php Bootstrap/Load: Revert fatal error recovery mechanism from 5.1 to polish for 5.2. 2019-01-30 11:01:52 +00:00
admin.php
ajax-actions.php Accessibility: Improve the Comments and Privacy count text. 2019-03-18 15:22:53 +00:00
bookmark.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-automatic-upgrader-skin.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-bulk-plugin-upgrader-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-bulk-theme-upgrader-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-bulk-upgrader-skin.php
class-core-upgrader.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-file-upload-upgrader.php
class-ftp-pure.php Docs: Correct grammar in PemFTP description. 2019-03-17 01:20:49 +00:00
class-ftp-sockets.php Docs: Correct grammar in PemFTP description. 2019-03-17 01:20:49 +00:00
class-ftp.php Docs: Correct grammar in PemFTP description. 2019-03-17 01:20:49 +00:00
class-language-pack-upgrader-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-language-pack-upgrader.php I18N: Enable clear_destination in upgrader for updating/installing language packs. 2019-01-21 21:13:48 +00:00
class-pclzip.php
class-plugin-installer-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-plugin-upgrader-skin.php
class-plugin-upgrader.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-theme-installer-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-theme-upgrader-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-theme-upgrader.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-walker-category-checklist.php
class-walker-nav-menu-checklist.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-walker-nav-menu-edit.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-wp-ajax-upgrader-skin.php
class-wp-automatic-updater.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-wp-comments-list-table.php Accessibility: Comments: Improve links and buttons semantics and interaction. 2019-02-20 23:37:50 +00:00
class-wp-community-events.php Docs: Update @since versions in Community Events class added in [42726]. 2018-06-28 02:34:04 +00:00
class-wp-filesystem-base.php
class-wp-filesystem-direct.php
class-wp-filesystem-ftpext.php
class-wp-filesystem-ftpsockets.php
class-wp-filesystem-ssh2.php
class-wp-importer.php
class-wp-internal-pointers.php Privacy: Remove privacy feature related admin pointers. 2019-03-04 20:47:50 +00:00
class-wp-links-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-list-table-compat.php
class-wp-list-table.php Coding Standards: Upgrade WPCS to 1.2.1. 2019-01-12 06:41:52 +00:00
class-wp-media-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-ms-sites-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-ms-themes-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-ms-users-list-table.php Users: Use login__in parameter for WP_User_Query in WP_MS_Users_List_Table::prepare_items(), instead of a manual query. 2019-03-07 12:35:52 +00:00
class-wp-plugin-install-list-table.php General: Prevent nested paragraph tags when displaying PHP update annotations. 2019-03-19 20:41:53 +00:00
class-wp-plugins-list-table.php Plugins: Block plugin updates if required PHP version is not supported. 2019-03-20 01:44:51 +00:00
class-wp-post-comments-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-posts-list-table.php Taxonomy: Introduce post_column_taxonomy_links. 2019-03-08 15:37:52 +00:00
class-wp-screen.php Coding Standards: Upgrade WPCS to 1.2.1. 2019-01-12 06:41:52 +00:00
class-wp-site-icon.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
class-wp-terms-list-table.php Taxonomy: Add level-n classes to rows on edit-tags.php. 2019-03-07 03:04:50 +00:00
class-wp-theme-install-list-table.php Bundled Themes: Make twentynineteen the default theme. 2018-12-14 02:49:38 +00:00
class-wp-themes-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-upgrader-skin.php Upgrade/Install: Prevent possible JavaScript error when updating translations. 2019-01-09 11:26:50 +00:00
class-wp-upgrader-skins.php
class-wp-upgrader.php
class-wp-users-list-table.php Coding Standards: Upgrade WPCS to 1.2.1. 2019-01-12 06:41:52 +00:00
comment.php
continents-cities.php I18N: Update list of continents and cities for the timezone selection. 2018-07-18 11:21:25 +00:00
credits.php
dashboard.php Accessibility: Improve the Comments and Privacy count text. 2019-03-18 15:22:53 +00:00
deprecated.php REST API: Restore use of wp_ajax_ajax_tag_search() for tag search. 2019-01-10 02:37:51 +00:00
edit-tag-messages.php
export.php Coding Standards: Fix the Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace violations. 2019-01-11 06:40:50 +00:00
file.php Privacy: Be less restrictive of the HTML tags allowed in user data exports. 2019-03-08 22:05:53 +00:00
image-edit.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
image.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
import.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
list-table.php Docs: Update and correct various inline documentation. 2018-05-07 17:20:22 +00:00
media.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
menu.php
meta-boxes.php Accessibility: Comments: Improve links and buttons semantics and interaction. 2019-02-20 23:37:50 +00:00
misc.php Scripts: Assign api-fetch nonce with corrected rest_nonce. 2019-03-20 20:53:50 +00:00
ms-admin-filters.php
ms-deprecated.php
ms.php Accessibility: Improve the semantics of "tabs" that are not real ARIA tabs. 2019-03-15 14:54:52 +00:00
nav-menu.php Menus: Fix a deprecated call to get_terms(). 2019-01-21 23:38:52 +00:00
network.php Docs: Improve the @return description of network_domain_check(). 2019-01-08 05:27:50 +00:00
noop.php
options.php Accessibility: General Settings: Update custom date/time format previews while typing. 2019-02-20 22:56:50 +00:00
plugin-install.php Plugins: Block plugin updates if required PHP version is not supported. 2019-03-20 01:44:51 +00:00
plugin.php Bootstrap/Load: Revert fatal error recovery mechanism from 5.1 to polish for 5.2. 2019-01-30 11:01:52 +00:00
post.php Meta Boxes: Use a unique name for the nonce of the meta box loader. 2019-03-20 08:12:51 +00:00
revision.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
schema.php Networks and Sites: Introduce populate_site_meta filter. 2019-03-15 19:43:50 +00:00
screen.php
taxonomy.php
template.php Date/Time: Reduce explicit local current_time( 'timestamp' ) usage in favor of native PHP functions. 2019-03-07 09:12:51 +00:00
theme-install.php Docs: Add missing periods to a grab-bag of docblocks. 2019-01-18 01:03:50 +00:00
theme.php Bootstrap/Load: Revert fatal error recovery mechanism from 5.1 to polish for 5.2. 2019-01-30 11:01:52 +00:00
translation-install.php
update-core.php Upgrades: Update $_old_files for WordPress 5.1. 2019-02-21 04:35:50 +00:00
update.php Plugins: Block plugin updates if required PHP version is not supported. 2019-03-20 01:44:51 +00:00
upgrade.php Install/upgrade: Remove Gutenberg plugin deactivation from upgrade process. 2019-02-08 00:16:50 +00:00
user.php Privacy: Add missing header text for screen readers to privacy list tables. 2019-03-08 15:25:51 +00:00
widgets.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00