From 5c306af76d5c7bd5702e023d27d9dcb9128313ef Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 5 May 2014 19:04:39 +0000 Subject: [PATCH] When `$type` is `atom` in `get_the_category_rss()`, use `get_bloginfo_rss( 'url' )` when setting the `scheme` attribute for the `` node. Props ejdanderson. Fixes #24444. git-svn-id: https://develop.svn.wordpress.org/trunk@28258 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/feed.php b/src/wp-includes/feed.php index c77abd529a..750816208c 100644 --- a/src/wp-includes/feed.php +++ b/src/wp-includes/feed.php @@ -390,7 +390,7 @@ function get_the_category_rss($type = null) { $the_list .= "\t\t\n"; elseif ( 'atom' == $type ) /** This filter is documented in wp-includes/feed.php */ - $the_list .= sprintf( '', esc_attr( apply_filters( 'get_bloginfo_rss', get_bloginfo( 'url' ) ) ), esc_attr( $cat_name ) ); + $the_list .= sprintf( '', esc_attr( get_bloginfo_rss( 'url' ) ), esc_attr( $cat_name ) ); else $the_list .= "\t\t\n"; }