diff --git a/wp-includes/feed.php b/wp-includes/feed.php index e6b9ae0e68..4f775aa799 100644 --- a/wp-includes/feed.php +++ b/wp-includes/feed.php @@ -83,7 +83,7 @@ function get_wp_title_rss($sep = '»') { $title = wp_title($sep, false); if ( is_wp_error( $title ) ) return $title->get_error_message(); - $title = apply_filters('get_wp_title_rss', $title); + $title = apply_filters( 'get_wp_title_rss', $title, $sep ); return $title; } @@ -98,8 +98,8 @@ function get_wp_title_rss($sep = '»') { * * @param string $sep Optional. */ -function wp_title_rss($sep = '»') { - echo apply_filters('wp_title_rss', get_wp_title_rss($sep)); +function wp_title_rss( $sep = '»' ) { + echo apply_filters( 'wp_title_rss', get_wp_title_rss( $sep ), $sep ); } /**