diff --git wp-includes/comment-template.php wp-includes/comment-template-new.php
index c445147..8b3b8f8 100755
old
|
new
|
function get_comments_number( $post_id = 0 ) { |
864 | 864 | * |
865 | 865 | * @since 0.71 |
866 | 866 | * |
867 | | * @param string $zero Optional. Text for no comments. Default false. |
868 | | * @param string $one Optional. Text for one comment. Default false. |
869 | | * @param string $more Optional. Text for more than one comment. Default false. |
870 | | * @param string $deprecated Not used. |
| 867 | * @param string|false $zero Optional. Text for no comments. Default false. |
| 868 | * @param string|false $one Optional. Text for one comment. Default false. |
| 869 | * @param string|false $more Optional. Text for more than one comment. Default false. |
| 870 | * @param string $deprecated Not used. |
871 | 871 | */ |
872 | 872 | function comments_number( $zero = false, $one = false, $more = false, $deprecated = '' ) { |
873 | 873 | if ( ! empty( $deprecated ) ) { |
… |
… |
function comments_number( $zero = false, $one = false, $more = false, $deprecate |
881 | 881 | * |
882 | 882 | * @since 4.0.0 |
883 | 883 | * |
884 | | * @param string $zero Optional. Text for no comments. Default false. |
885 | | * @param string $one Optional. Text for one comment. Default false. |
886 | | * @param string $more Optional. Text for more than one comment. Default false. |
| 884 | * @param string|false $zero Optional. Text for no comments. Default false. |
| 885 | * @param string|false $one Optional. Text for one comment. Default false. |
| 886 | * @param string|false $more Optional. Text for more than one comment. Default false. |
| 887 | * |
| 888 | * @return string |
887 | 889 | */ |
888 | 890 | function get_comments_number_text( $zero = false, $one = false, $more = false ) { |
889 | 891 | $number = get_comments_number(); |
… |
… |
function get_comment_type( $comment_ID = 0 ) { |
1074 | 1076 | * |
1075 | 1077 | * @since 0.71 |
1076 | 1078 | * |
1077 | | * @param string $commenttxt Optional. String to display for comment type. Default false. |
1078 | | * @param string $trackbacktxt Optional. String to display for trackback type. Default false. |
1079 | | * @param string $pingbacktxt Optional. String to display for pingback type. Default false. |
| 1079 | * @param string|false $commenttxt Optional. String to display for comment type. Default false. |
| 1080 | * @param string|false $trackbacktxt Optional. String to display for trackback type. Default false. |
| 1081 | * @param string|false $pingbacktxt Optional. String to display for pingback type. Default false. |
1080 | 1082 | */ |
1081 | 1083 | function comment_type( $commenttxt = false, $trackbacktxt = false, $pingbacktxt = false ) { |
1082 | 1084 | if ( false === $commenttxt ) $commenttxt = _x( 'Comment', 'noun' ); |
… |
… |
function trackback_url( $deprecated_echo = true ) { |
1155 | 1157 | * |
1156 | 1158 | * @since 0.71 |
1157 | 1159 | * |
1158 | | * @param int $deprecated Not used (Was $timezone = 0). |
| 1160 | * @param int|string $deprecated Not used (Was $timezone = 0). |
1159 | 1161 | */ |
1160 | 1162 | function trackback_rdf( $deprecated = '' ) { |
1161 | 1163 | if ( ! empty( $deprecated ) ) { |
… |
… |
function comments_template( $file = '/comments.php', $separate_comments = false |
1489 | 1491 | * |
1490 | 1492 | * @since 0.71 |
1491 | 1493 | * |
1492 | | * @param string $zero Optional. String to display when no comments. Default false. |
1493 | | * @param string $one Optional. String to display when only one comment is available. |
1494 | | * Default false. |
1495 | | * @param string $more Optional. String to display when there are more than one comment. |
1496 | | * Default false. |
1497 | | * @param string $css_class Optional. CSS class to use for comments. Default empty. |
1498 | | * @param string $none Optional. String to display when comments have been turned off. |
1499 | | * Default false. |
| 1494 | * @param string|false $zero Optional. String to display when no comments. Default false. |
| 1495 | * @param string|false $one Optional. String to display when only one comment is available. |
| 1496 | * Default false. |
| 1497 | * @param string|false $more Optional. String to display when there are more than one comment. |
| 1498 | * Default false. |
| 1499 | * @param string $css_class Optional. CSS class to use for comments. Default empty. |
| 1500 | * @param string|false $none Optional. String to display when comments have been turned off. |
| 1501 | * Default false. |
1500 | 1502 | */ |
1501 | 1503 | function comments_popup_link( $zero = false, $one = false, $more = false, $css_class = '', $none = false ) { |
1502 | 1504 | $id = get_the_ID(); |
… |
… |
function comment_id_fields( $id = 0 ) { |
1867 | 1869 | * |
1868 | 1870 | * @global WP_Comment $comment Current comment. |
1869 | 1871 | * |
1870 | | * @param string $noreplytext Optional. Text to display when not replying to a comment. |
1871 | | * Default false. |
1872 | | * @param string $replytext Optional. Text to display when replying to a comment. |
1873 | | * Default false. Accepts "%s" for the author of the comment |
1874 | | * being replied to. |
1875 | | * @param string $linktoparent Optional. Boolean to control making the author's name a link |
1876 | | * to their comment. Default true. |
| 1872 | * @param string|false $noreplytext Optional. Text to display when not replying to a comment. |
| 1873 | * Default false. |
| 1874 | * @param string|false $replytext Optional. Text to display when replying to a comment. |
| 1875 | * Default false. Accepts "%s" for the author of the comment |
| 1876 | * being replied to. |
| 1877 | * @param string|bool $linktoparent Optional. Boolean to control making the author's name a link |
| 1878 | * to their comment. Default true. |
1877 | 1879 | */ |
1878 | 1880 | function comment_form_title( $noreplytext = false, $replytext = false, $linktoparent = true ) { |
1879 | 1881 | global $comment; |