Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #54703, comment 4


Ignore:
Timestamp:
12/30/2021 10:06:46 PM (4 years ago)
Author:
costdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54703, comment 4

    v1 v2  
    1414This appears to resolve both issues and the unit tests pass:
    1515{{{#!php
     16<?php
    1617
    1718// src/wp-includes/general-template.php:3156
     
    2526/** This filter is documented in wp-includes/general-template.php */
    2627$show_comments_feed = apply_filters( 'feed_links_show_comments_feed', true );
     28
    2729if ( $show_comments_feed && ( comments_open() || pings_open() || $post->comment_count > 0 ) ) {
    2830        $title = sprintf( $args['singletitle'], get_bloginfo( 'name' ), $args['separator'], the_title_attribute( array( 'echo' => false ) ) );