Editor: Add Nonce Endpoint

This is a follow up to #47843, implementing a PHP endpoint and inline scripts 
after the editor package updates. The action was originally added in
https://github.com/WordPress/gutenberg/pull/16683.

Fixes #48076.




git-svn-id: https://develop.svn.wordpress.org/trunk@46253 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ella van Durpe
2019-09-23 17:46:33 +00:00
parent 42e5e4d5d5
commit 83dd94f3a8
4 changed files with 34 additions and 31 deletions
+1
View File
@@ -53,6 +53,7 @@ $core_actions_get = array(
'autocomplete-user',
'dashboard-widgets',
'logged-in',
'rest-nonce',
);
$core_actions_post = array(