Changes between Version 1 and Version 2 of Ticket #54703, comment 4
- Timestamp:
- 12/30/2021 10:06:46 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54703, comment 4
v1 v2 14 14 This appears to resolve both issues and the unit tests pass: 15 15 {{{#!php 16 <?php 16 17 17 18 // src/wp-includes/general-template.php:3156 … … 25 26 /** This filter is documented in wp-includes/general-template.php */ 26 27 $show_comments_feed = apply_filters( 'feed_links_show_comments_feed', true ); 28 27 29 if ( $show_comments_feed && ( comments_open() || pings_open() || $post->comment_count > 0 ) ) { 28 30 $title = sprintf( $args['singletitle'], get_bloginfo( 'name' ), $args['separator'], the_title_attribute( array( 'echo' => false ) ) );