From a35232fc607a5945c79a3b37af7844c398dfaa9d Mon Sep 17 00:00:00 2001 From: desrosj Date: Fri, 7 Oct 2022 01:25:10 +0000 Subject: [PATCH] Twenty Eleven: Pass template directory URLs through `esc_url()`. Props alberuni-azad, sabernhardt, costdev. Fixes #56717. See #56696. Built from https://develop.svn.wordpress.org/trunk@54404 git-svn-id: http://core.svn.wordpress.org/trunk@53963 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyeleven/header.php | 4 ++-- wp-content/themes/twentyeleven/inc/block-patterns.php | 4 ++-- wp-includes/version.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-content/themes/twentyeleven/header.php b/wp-content/themes/twentyeleven/header.php index 02688c6ad5..3fd479437c 100644 --- a/wp-content/themes/twentyeleven/header.php +++ b/wp-content/themes/twentyeleven/header.php @@ -49,10 +49,10 @@ if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) { ?> - +
-
' . esc_attr( 'A yellow flower against a dark background.', 'twentyeleven' ) . '
+
' . esc_attr( 'A yellow flower against a dark background.', 'twentyeleven' ) . '

' . esc_html__( 'This is just an example post to showcase the featured post section on the showcase page. Who doesn’t like flowers? I like flowers. Nullam hendrerit enim nunc. Vestibulum eget nulla magna! Fusce lobortis neque eu neque egestas tincidunt. Duis elementum consequat lorem, in eleifend justo mollis at. Nam quis adipiscing magna. Duis adipiscing est ac nibh feugiat rhoncus. Donec non lorem felis, eget commodo purus.', 'twentyeleven' ) . '

@@ -117,7 +117,7 @@ if ( function_exists( 'register_block_pattern' ) ) {
-
' . esc_attr( 'Photo of a woman.', 'twentyeleven' ) . '
+
' . esc_attr( 'Photo of a woman.', 'twentyeleven' ) . '
diff --git a/wp-includes/version.php b/wp-includes/version.php index b681610304..5cec915028 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-beta3-54403'; +$wp_version = '6.1-beta3-54404'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.