File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -3348,12 +3348,17 @@ function feed_links_extra( $args = array() ) {
33483348 */
33493349 $ show_post_comments_feed = apply_filters ( 'feed_links_extra_show_post_comments_feed ' , $ show_comments_feed );
33503350
3351- if ( $ show_post_comments_feed && ( comments_open () || pings_open () || $ post ->comment_count > 0 ) ) {
3351+ if ( $ show_post_comments_feed && ( comments_open ( $ post ) || pings_open ( $ post ) || $ post ->comment_count > 0 ) ) {
33523352 $ title = sprintf (
33533353 $ args ['singletitle ' ],
33543354 get_bloginfo ( 'name ' ),
33553355 $ args ['separator ' ],
3356- the_title_attribute ( array ( 'echo ' => false ) )
3356+ the_title_attribute (
3357+ array (
3358+ 'echo ' => false ,
3359+ 'post ' => $ post ,
3360+ )
3361+ )
33573362 );
33583363
33593364 $ feed_link = get_post_comments_feed_link ( $ post ->ID );
You can’t perform that action at this time.
0 commit comments