Ticket #4832: 4832.2.diff
| File 4832.2.diff, 626 bytes (added by sivel, 3 years ago) |
|---|
-
wp-includes/comment-template.php
902 902 function comments_popup_link( $zero = 'No Comments', $one = '1 Comment', $more = '% Comments', $css_class = '', $none = 'Comments Off' ) { 903 903 global $id, $wpcommentspopupfile, $wpcommentsjavascript, $post; 904 904 905 if ( is_single() || is_page() )906 return;907 908 905 $number = get_comments_number( $id ); 909 906 910 907 if ( 0 == $number && 'closed' == $post->comment_status && 'closed' == $post->ping_status ) {
