diff --git wp-includes/comment-template.php wp-includes/comment-template.php
index 41031cb..3f70ddf 100755
|
|
|
function get_comments_number( $post_id = 0 ) {
|
| 873 | 873 | * |
| 874 | 874 | * @since 0.71 |
| 875 | 875 | * |
| 876 | | * @param string $zero Optional. Text for no comments. Default false. |
| 877 | | * @param string $one Optional. Text for one comment. Default false. |
| 878 | | * @param string $more Optional. Text for more than one comment. Default false. |
| | 876 | * @param false|string $zero Optional. Text for no comments. Default false. |
| | 877 | * @param false|string $one Optional. Text for one comment. Default false. |
| | 878 | * @param false|string $more Optional. Text for more than one comment. Default false. |
| 879 | 879 | * @param string $deprecated Not used. |
| 880 | 880 | */ |
| 881 | 881 | function comments_number( $zero = false, $one = false, $more = false, $deprecated = '' ) { |
| … |
… |
function comments_number( $zero = false, $one = false, $more = false, $deprecate
|
| 885 | 885 | echo get_comments_number_text( $zero, $one, $more ); |
| 886 | 886 | } |
| 887 | 887 | |
| 888 | | /** |
| | 888 | /**` |
| 889 | 889 | * Display the language string for the number of comments the current post has. |
| 890 | 890 | * |
| 891 | 891 | * @since 4.0.0 |
| 892 | 892 | * |
| 893 | | * @param string $zero Optional. Text for no comments. Default false. |
| 894 | | * @param string $one Optional. Text for one comment. Default false. |
| 895 | | * @param string $more Optional. Text for more than one comment. Default false. |
| | 893 | * @param false|string $zero Optional. Text for no comments. Default false. |
| | 894 | * @param false|string $one Optional. Text for one comment. Default false. |
| | 895 | * @param false|string $more Optional. Text for more than one comment. Default false. |
| | 896 | * |
| | 897 | * @return string |
| 896 | 898 | */ |
| 897 | 899 | function get_comments_number_text( $zero = false, $one = false, $more = false ) { |
| 898 | 900 | $number = get_comments_number(); |
| … |
… |
function get_comment_type( $comment_ID = 0 ) {
|
| 1085 | 1087 | * |
| 1086 | 1088 | * @since 0.71 |
| 1087 | 1089 | * |
| 1088 | | * @param string $commenttxt Optional. String to display for comment type. Default false. |
| 1089 | | * @param string $trackbacktxt Optional. String to display for trackback type. Default false. |
| 1090 | | * @param string $pingbacktxt Optional. String to display for pingback type. Default false. |
| | 1090 | * @param false|string $commenttxt Optional. String to display for comment type. Default false. |
| | 1091 | * @param false|string $trackbacktxt Optional. String to display for trackback type. Default false. |
| | 1092 | * @param false|string $pingbacktxt Optional. String to display for pingback type. Default false. |
| 1091 | 1093 | */ |
| 1092 | 1094 | function comment_type( $commenttxt = false, $trackbacktxt = false, $pingbacktxt = false ) { |
| 1093 | 1095 | if ( false === $commenttxt ) { |
| … |
… |
function trackback_url( $deprecated_echo = true ) {
|
| 1176 | 1178 | * |
| 1177 | 1179 | * @since 0.71 |
| 1178 | 1180 | * |
| 1179 | | * @param int $deprecated Not used (Was $timezone = 0). |
| | 1181 | * @param string|int $deprecated Not used (Was $timezone = 0). |
| 1180 | 1182 | */ |
| 1181 | 1183 | function trackback_rdf( $deprecated = '' ) { |
| 1182 | 1184 | if ( ! empty( $deprecated ) ) { |
| … |
… |
function comment_id_fields( $id = 0 ) {
|
| 1923 | 1925 | * |
| 1924 | 1926 | * @global WP_Comment $comment Current comment. |
| 1925 | 1927 | * |
| 1926 | | * @param string $noreplytext Optional. Text to display when not replying to a comment. |
| 1927 | | * Default false. |
| 1928 | | * @param string $replytext Optional. Text to display when replying to a comment. |
| 1929 | | * Default false. Accepts "%s" for the author of the comment |
| 1930 | | * being replied to. |
| 1931 | | * @param string $linktoparent Optional. Boolean to control making the author's name a link |
| 1932 | | * to their comment. Default true. |
| | 1928 | * @param false|string $noreplytext Optional. Text to display when not replying to a comment. |
| | 1929 | * Default false. |
| | 1930 | * @param false|string $replytext Optional. Text to display when replying to a comment. |
| | 1931 | * Default false. Accepts "%s" for the author of the comment |
| | 1932 | * being replied to. |
| | 1933 | * @param true|string $linktoparent Optional. Boolean to control making the author's name a link |
| | 1934 | * to their comment. Default true. |
| 1933 | 1935 | */ |
| 1934 | 1936 | function comment_form_title( $noreplytext = false, $replytext = false, $linktoparent = true ) { |
| 1935 | 1937 | global $comment; |
| … |
… |
function comment_form_title( $noreplytext = false, $replytext = false, $linktopa
|
| 1990 | 1992 | * @type bool $echo Whether to echo the output or return it. Default true. |
| 1991 | 1993 | * } |
| 1992 | 1994 | * @param array $comments Optional. Array of WP_Comment objects. |
| | 1995 | * |
| | 1996 | * @return void|string |
| 1993 | 1997 | */ |
| 1994 | 1998 | function wp_list_comments( $args = array(), $comments = null ) { |
| 1995 | 1999 | global $wp_query, $comment_alt, $comment_depth, $comment_thread_alt, $overridden_cpage, $in_comment_loop; |