# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
|
a
|
b
|
|
| 570 | 570 | * @param string $zero Text for no comments |
| 571 | 571 | * @param string $one Text for one comment |
| 572 | 572 | * @param string $more Text for more than one comment |
| 573 | | * @param string $deprecated Not used. |
| 574 | 573 | */ |
| 575 | | function comments_number( $zero = false, $one = false, $more = false, $deprecated = '' ) { |
| | 574 | function comments_number($zero = false, $one = false, $more = false, $deprecated = '') { |
| | 575 | echo get_comments_number_text( $zero, $one, $more, $deprecated ); |
| | 576 | } |
| | 577 | |
| | 578 | /** |
| | 579 | * Return the language string for the number of comments the current post has. |
| | 580 | * |
| | 581 | * @since 2.9 |
| | 582 | * @uses $id |
| | 583 | * @uses apply_filters() Calls the 'comments_number' hook on the output and number of comments respectively. |
| | 584 | * |
| | 585 | * @param string $zero Text for no comments |
| | 586 | * @param string $one Text for one comment |
| | 587 | * @param string $more Text for more than one comment |
| | 588 | */ |
| | 589 | function get_comments_number_text( $zero = false, $one = false, $more = false ) { |
| 576 | 590 | global $id; |
| 577 | 591 | |
| 578 | 592 | if ( !empty( $deprecated ) ) |
| … |
… |
|
| 587 | 601 | else // must be one |
| 588 | 602 | $output = ( false === $one ) ? __('1 Comment') : $one; |
| 589 | 603 | |
| 590 | | echo apply_filters('comments_number', $output, $number); |
| | 604 | return apply_filters('comments_number', $output, $number); |
| 591 | 605 | } |
| 592 | 606 | |
| 593 | 607 | /** |