From a94d70b8114fbcf697e5642d490597813611d0ff Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 7 Jan 2019 12:48:51 +0000 Subject: [PATCH] Taxonomy: Escape `feed_image` argument in `Walker_Category::start_el()`. See [11838] for the instance in `wp_list_authors()`. Props abhijitrakas. See #44880. Built from https://develop.svn.wordpress.org/trunk@44413 git-svn-id: http://core.svn.wordpress.org/trunk@44243 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-walker-category.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-walker-category.php b/wp-includes/class-walker-category.php index 4c155c721b..6df6431b6b 100644 --- a/wp-includes/class-walker-category.php +++ b/wp-includes/class-walker-category.php @@ -146,7 +146,7 @@ class Walker_Category extends Walker { if ( empty( $args['feed_image'] ) ) { $link .= $name; } else { - $link .= "'; + $link .= "'; } $link .= ''; diff --git a/wp-includes/version.php b/wp-includes/version.php index 3923de54e8..94638ed237 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-alpha-44412'; +$wp_version = '5.1-alpha-44413'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.