Ticket #4964: comment-template.2.patch
| File comment-template.2.patch, 701 bytes (added by Viper007Bond, 6 years ago) |
|---|
-
wp-includes/comment-template.php
161 161 return apply_filters('get_comments_number', $count); 162 162 } 163 163 164 function comments_number( $zero = false, $one = false, $more = false, $ deprecated= '' ) {164 function comments_number( $zero = false, $one = false, $more = false, $number = '' ) { 165 165 global $id; 166 $number = get_comments_number($id);166 if ( empty($number) ) $number = get_comments_number($id); 167 167 168 168 if ( $number > 1 ) 169 169 $output = str_replace('%', $number, ( false === $more ) ? __('% Comments') : $more);
