Files
WordPress/wp-includes/js
Dominik Schilling 6fd9d2edcf REST API JavaScript Client: Support an empty string for nonce to disable sending the X-WP-Nonce header.
Passing a `nonce` argument with an empty string to `wp.api.init()` now does no longer fall back to `wpApiSettings.nonce`. This makes it possible to stop sending nonce headers, for example to a read-only endpoint on another site in a multisite install.

Props adamsilverstein, FPCSJames, ocean90, swissspidy.
Fixes #42948, #43266.
Built from https://develop.svn.wordpress.org/trunk@42852


git-svn-id: http://core.svn.wordpress.org/trunk@42682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-18 17:21:30 +00:00
..
2017-09-21 16:35:48 +00:00
2012-11-17 15:11:29 +00:00
2015-03-11 17:15:27 +00:00
2018-02-25 16:49:30 +00:00
2012-04-17 23:09:29 +00:00
2015-06-28 14:51:30 +00:00
2018-01-23 11:49:30 +00:00
2018-01-23 11:49:30 +00:00
2013-12-28 23:53:15 +00:00
2013-12-28 23:53:15 +00:00