diff --git a/src/wp-admin/includes/class-custom-background.php b/src/wp-admin/includes/class-custom-background.php index e42a38f4eb689..2d3d9357c30fc 100644 --- a/src/wp-admin/includes/class-custom-background.php +++ b/src/wp-admin/includes/class-custom-background.php @@ -247,7 +247,7 @@ public function admin_page() { $message = sprintf( /* translators: %s: URL to background image configuration in Customizer. */ __( 'You can now manage and live-preview Custom Backgrounds in the Customizer.' ), - admin_url( 'customize.php?autofocus[control]=background_image' ) + esc_url( admin_url( 'customize.php?autofocus[control]=background_image' ) ) ); wp_admin_notice( $message, @@ -308,7 +308,7 @@ public function admin_page() { . " background-attachment: $background_attachment;"; } ?> -