diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php
index 918238f..842b4c3 100644
a
|
b
|
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. |
879 | | * @param string $deprecated Not used. |
| 876 | * @param false|string $zero Optional. String to display when no comments. Default false. |
| 877 | * @param false|string $one Optional. String to display when only one comment is available. Default false. |
| 878 | * @param false|string $more Optional. String to display when there are more than one comment. Default false. |
| 879 | * @param string $deprecated Not used. |
880 | 880 | */ |
881 | 881 | function comments_number( $zero = false, $one = false, $more = false, $deprecated = '' ) { |
882 | 882 | if ( ! empty( $deprecated ) ) { |
… |
… |
function comments_number( $zero = false, $one = false, $more = false, $deprecate |
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. String to display when no comments. Default false. |
| 894 | * @param false|string $one Optional. String to display when only one comment is available. Default false. |
| 895 | * @param false|string $more Optional. String to display when there are more than one comment. Default false. |
896 | 896 | */ |
897 | 897 | function get_comments_number_text( $zero = false, $one = false, $more = false ) { |
898 | 898 | $number = get_comments_number(); |
… |
… |
function get_comment_type( $comment_ID = 0 ) { |
1085 | 1085 | * |
1086 | 1086 | * @since 0.71 |
1087 | 1087 | * |
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. |
| 1088 | * @param false|string $commenttxt Optional. String to display for comment type. Default false. |
| 1089 | * @param false|string $trackbacktxt Optional. String to display for trackback type. Default false. |
| 1090 | * @param false|string $pingbacktxt Optional. String to display for pingback type. Default false. |
1091 | 1091 | */ |
1092 | 1092 | function comment_type( $commenttxt = false, $trackbacktxt = false, $pingbacktxt = false ) { |
1093 | 1093 | if ( false === $commenttxt ) { |
… |
… |
function trackback_url( $deprecated_echo = true ) { |
1176 | 1176 | * |
1177 | 1177 | * @since 0.71 |
1178 | 1178 | * |
1179 | | * @param int $deprecated Not used (Was $timezone = 0). |
| 1179 | * @param int|string $deprecated Not used (Was $timezone = 0). |
1180 | 1180 | */ |
1181 | 1181 | function trackback_rdf( $deprecated = '' ) { |
1182 | 1182 | if ( ! empty( $deprecated ) ) { |
… |
… |
function comment_id_fields( $id = 0 ) { |
1911 | 1911 | * |
1912 | 1912 | * @global WP_Comment $comment Current comment. |
1913 | 1913 | * |
1914 | | * @param string $noreplytext Optional. Text to display when not replying to a comment. |
1915 | | * Default false. |
1916 | | * @param string $replytext Optional. Text to display when replying to a comment. |
1917 | | * Default false. Accepts "%s" for the author of the comment |
1918 | | * being replied to. |
1919 | | * @param string $linktoparent Optional. Boolean to control making the author's name a link |
1920 | | * to their comment. Default true. |
| 1914 | * @param false|string $noreplytext Optional. Text to display when not replying to a comment. |
| 1915 | * Default false. |
| 1916 | * @param false|string $replytext Optional. Text to display when replying to a comment. |
| 1917 | * Default false. Accepts "%s" for the author of the comment |
| 1918 | * being replied to. |
| 1919 | * @param bool $linktoparent Optional. Boolean to control making the author's name a link |
| 1920 | * to their comment. Default true. |
1921 | 1921 | */ |
1922 | 1922 | function comment_form_title( $noreplytext = false, $replytext = false, $linktoparent = true ) { |
1923 | 1923 | global $comment; |