From b5a14f47bb2dae7224779c8e36a8f95de6a0a028 Mon Sep 17 00:00:00 2001 From: desrosj Date: Wed, 6 Jul 2022 19:46:10 +0000 Subject: [PATCH] Themes: Properly escape `home_url()` when changing and updating themes. Props obayedmamur, hurayraiit, costdev, shraboni, msnewas. Fixes #56145. Built from https://develop.svn.wordpress.org/trunk@53677 git-svn-id: http://core.svn.wordpress.org/trunk@53236 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/themes.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/themes.php b/wp-admin/themes.php index ba897614db..6dcc909252 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -266,11 +266,11 @@ if ( ! validate_current_theme() || isset( $_GET['broken'] ) ) { } elseif ( isset( $_GET['activated'] ) ) { if ( isset( $_GET['previewed'] ) ) { ?> -

+

-

+