From e94cd298c6e0208a5feb888099601feadf460eda Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Wed, 6 Jul 2022 19:44:43 +0000 Subject: [PATCH] Themes: Properly escape `home_url()` when changing and updating themes. Props obayedmamur, hurayraiit, costdev, shraboni, msnewas. Fixes #56145. git-svn-id: https://develop.svn.wordpress.org/trunk@53677 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/themes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php index ba897614db..6dcc909252 100644 --- a/src/wp-admin/themes.php +++ b/src/wp-admin/themes.php @@ -266,11 +266,11 @@ if ( ! validate_current_theme() || isset( $_GET['broken'] ) ) { } elseif ( isset( $_GET['activated'] ) ) { if ( isset( $_GET['previewed'] ) ) { ?> -

+

-

+