From d6b53ec8400486b040b4fdd86eab519a3783d3ee Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 7 Jan 2019 12:47:38 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@44413 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-walker-category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-walker-category.php b/src/wp-includes/class-walker-category.php index 4c155c721b..6df6431b6b 100644 --- a/src/wp-includes/class-walker-category.php +++ b/src/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 .= '';