Ticket #4832: 4832.001.diff

File 4832.001.diff, 629 bytes (added by AaronCampbell, 4 years ago)
  • wp-includes/comment-template.php

     
    817817function comments_popup_link( $zero = 'No Comments', $one = '1 Comment', $more = '% Comments', $css_class = '', $none = 'Comments Off' ) { 
    818818        global $id, $wpcommentspopupfile, $wpcommentsjavascript, $post; 
    819819 
    820         if ( is_single() || is_page() ) 
    821                 return; 
    822  
    823820        $number = get_comments_number( $id ); 
    824821 
    825822        if ( 0 == $number && 'closed' == $post->comment_status && 'closed' == $post->ping_status ) {