summaryrefslogtreecommitdiffstats
path: root/wp-includes/theme-previews.php
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:57:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:57:26 +0000
commit30883c26bdceb9eaf32c8d4a1b0c1bce223b5226 (patch)
tree39a02e2aeb21ab5b7923c6f5757d66d55b708912 /wp-includes/theme-previews.php
parentAdding upstream version 6.4.3+dfsg1. (diff)
downloadwordpress-30883c26bdceb9eaf32c8d4a1b0c1bce223b5226.tar.xz
wordpress-30883c26bdceb9eaf32c8d4a1b0c1bce223b5226.zip
Adding upstream version 6.5+dfsg1.upstream/6.5+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--wp-includes/theme-previews.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-includes/theme-previews.php b/wp-includes/theme-previews.php
index 882f3e0..7e0c085 100644
--- a/wp-includes/theme-previews.php
+++ b/wp-includes/theme-previews.php
@@ -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();