Ticket #4832: 4832.001.diff
| File 4832.001.diff, 629 bytes (added by AaronCampbell, 4 years ago) |
|---|
-
wp-includes/comment-template.php
817 817 function comments_popup_link( $zero = 'No Comments', $one = '1 Comment', $more = '% Comments', $css_class = '', $none = 'Comments Off' ) { 818 818 global $id, $wpcommentspopupfile, $wpcommentsjavascript, $post; 819 819 820 if ( is_single() || is_page() )821 return;822 823 820 $number = get_comments_number( $id ); 824 821 825 822 if ( 0 == $number && 'closed' == $post->comment_status && 'closed' == $post->ping_status ) {
