From ed395350fab470028e30c06f8cda463c242cad58 Mon Sep 17 00:00:00 2001 From: okmttdhr Date: Mon, 11 Sep 2023 15:36:06 +0900 Subject: [PATCH] Add a notice if a theme is requested too early when previewing a theme --- src/wp-includes/theme-previews.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/wp-includes/theme-previews.php b/src/wp-includes/theme-previews.php index d3f5c631c9b24..4c5b5500a7fbb 100644 --- a/src/wp-includes/theme-previews.php +++ b/src/wp-includes/theme-previews.php @@ -75,6 +75,36 @@ function wp_block_theme_activate_nonce() {