Ticket #4832: 4832.2.diff

File 4832.2.diff, 626 bytes (added by sivel, 3 years ago)

Updated for current trunk revision

  • wp-includes/comment-template.php

     
    902902function comments_popup_link( $zero = 'No Comments', $one = '1 Comment', $more = '% Comments', $css_class = '', $none = 'Comments Off' ) { 
    903903        global $id, $wpcommentspopupfile, $wpcommentsjavascript, $post; 
    904904 
    905         if ( is_single() || is_page() ) 
    906                 return; 
    907  
    908905        $number = get_comments_number( $id ); 
    909906 
    910907        if ( 0 == $number && 'closed' == $post->comment_status && 'closed' == $post->ping_status ) {