Changeset 49936 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 01/05/2021 05:14:24 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/comment-template.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r49735 r49936 879 879 * @since 5.4.0 The `$deprecated` parameter was changed to `$post_id`. 880 880 * 881 * @param string $zeroOptional. Text for no comments. Default false.882 * @param string $oneOptional. Text for one comment. Default false.883 * @param string $moreOptional. Text for more than one comment. Default false.884 * @param int|WP_Post $post_idOptional. Post ID or WP_Post object. Default is the global `$post`.881 * @param string|false $zero Optional. Text for no comments. Default false. 882 * @param string|false $one Optional. Text for one comment. Default false. 883 * @param string|false $more Optional. Text for more than one comment. Default false. 884 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is the global `$post`. 885 885 */ 886 886 function comments_number( $zero = false, $one = false, $more = false, $post_id = 0 ) { … … 1109 1109 * @since 0.71 1110 1110 * 1111 * @param string $commenttxt Optional. String to display for comment type. Default false.1112 * @param string $trackbacktxt Optional. String to display for trackback type. Default false.1113 * @param string $pingbacktxt Optional. String to display for pingback type. Default false.1111 * @param string|false $commenttxt Optional. String to display for comment type. Default false. 1112 * @param string|false $trackbacktxt Optional. String to display for trackback type. Default false. 1113 * @param string|false $pingbacktxt Optional. String to display for pingback type. Default false. 1114 1114 */ 1115 1115 function comment_type( $commenttxt = false, $trackbacktxt = false, $pingbacktxt = false ) { … … 1200 1200 * @since 0.71 1201 1201 * 1202 * @param int $deprecated Not used (Was $timezone = 0).1202 * @param int|string $deprecated Not used (Was $timezone = 0). 1203 1203 */ 1204 1204 function trackback_rdf( $deprecated = '' ) { … … 1981 1981 * @global WP_Comment $comment Global comment object. 1982 1982 * 1983 * @param string $no_reply_text Optional. Text to display when not replying to a comment.1984 * Default false.1985 * @param string $reply_text Optional. Text to display when replying to a comment.1986 * Default false. Accepts "%s" for the author of the comment1987 * being replied to.1988 * @param string$link_to_parent Optional. Boolean to control making the author's name a link1989 * to their comment. Default true.1983 * @param string|false $no_reply_text Optional. Text to display when not replying to a comment. 1984 * Default false. 1985 * @param string|false $reply_text Optional. Text to display when replying to a comment. 1986 * Default false. Accepts "%s" for the author of the comment 1987 * being replied to. 1988 * @param bool $link_to_parent Optional. Boolean to control making the author's name a link 1989 * to their comment. Default true. 1990 1990 */ 1991 1991 function comment_form_title( $no_reply_text = false, $reply_text = false, $link_to_parent = true ) {
Note: See TracChangeset
for help on using the changeset viewer.