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:
parent
9c08686353
commit
a94d70b811
|
@ -146,7 +146,7 @@ class Walker_Category extends Walker {
|
||||||
if ( empty( $args['feed_image'] ) ) {
|
if ( empty( $args['feed_image'] ) ) {
|
||||||
$link .= $name;
|
$link .= $name;
|
||||||
} else {
|
} else {
|
||||||
$link .= "<img src='" . $args['feed_image'] . "'$alt" . ' />';
|
$link .= "<img src='" . esc_url( $args['feed_image'] ) . "'$alt" . ' />';
|
||||||
}
|
}
|
||||||
$link .= '</a>';
|
$link .= '</a>';
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue