REST API JS Client: Extend custom nonce functionality to collections.

This brings the improved nonce handling from [41553] to collections to remove the direct `wpApiSettings.nonce` dependency.

Props adamsilverstein, ocean90, swissspidy.
Fixes #43265.
Built from https://develop.svn.wordpress.org/trunk@42851


git-svn-id: http://core.svn.wordpress.org/trunk@42681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling
2018-03-18 17:04:30 +00:00
parent aaf1fc64c4
commit 3138d89e1e
3 changed files with 31 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-alpha-42844';
$wp_version = '5.0-alpha-42851';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.