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
This commit is contained in:
Sergey Biryukov 2019-01-07 12:48:51 +00:00
parent 9c08686353
commit a94d70b811
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ class Walker_Category extends Walker {
if ( empty( $args['feed_image'] ) ) {
$link .= $name;
} else {
$link .= "<img src='" . $args['feed_image'] . "'$alt" . ' />';
$link .= "<img src='" . esc_url( $args['feed_image'] ) . "'$alt" . ' />';
}
$link .= '</a>';

View File

@ -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.