From 511145b418ed9a1d765d7510451f9f12c797a0fd Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 5 May 2014 19:05:14 +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. Built from https://develop.svn.wordpress.org/trunk@28258 git-svn-id: http://core.svn.wordpress.org/trunk@28086 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/feed.php b/wp-includes/feed.php index c77abd529a..750816208c 100644 --- a/wp-includes/feed.php +++ b/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"; }