Plugin Updates
This commit is contained in:
@@ -61,10 +61,10 @@ function wp_attach_theme_preview_middleware() {
|
||||
* Sets the JavaScript global WP_BLOCK_THEME_ACTIVATE_NONCE containing the nonce
|
||||
* required to activate a theme. For use within the site editor.
|
||||
*
|
||||
* @see https://github.com/WordPress/gutenberg/pull/41836.
|
||||
* @see https://github.com/WordPress/gutenberg/pull/41836
|
||||
*
|
||||
* @since 6.3.0
|
||||
* @private
|
||||
* @access private
|
||||
*/
|
||||
function wp_block_theme_activate_nonce() {
|
||||
$nonce_handle = 'switch-theme_' . wp_get_theme_preview_path();
|
||||
|
||||
Reference in New Issue
Block a user