Changeset 55308 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 02/12/2023 06:06:33 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r55289 r55308 16 16 * 17 17 * @since 1.5.0 18 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.19 * 20 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or the ID of the comment for which to retrieve the author.18 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 19 * 20 * @param int|WP_Comment $comment_id Optional. WP_Comment or the ID of the comment for which to retrieve the author. 21 21 * Default current comment. 22 22 * @return string The comment author 23 23 */ 24 function get_comment_author( $comment_ ID= 0 ) {25 $comment = get_comment( $comment_ ID);26 $comment_ ID = ! empty( $comment->comment_ID ) ? $comment->comment_ID : $comment_ID;24 function get_comment_author( $comment_id = 0 ) { 25 $comment = get_comment( $comment_id ); 26 $comment_id = ! empty( $comment->comment_ID ) ? $comment->comment_ID : $comment_id; 27 27 28 28 if ( empty( $comment->comment_author ) ) { … … 41 41 * 42 42 * @since 1.5.0 43 * @since 4.1.0 The `$comment_ ID` and `$comment` parameters were added.43 * @since 4.1.0 The `$comment_id` and `$comment` parameters were added. 44 44 * 45 45 * @param string $author The comment author's username. 46 * @param string $comment_ IDThe comment ID as a numeric string.46 * @param string $comment_id The comment ID as a numeric string. 47 47 * @param WP_Comment $comment The comment object. 48 48 */ 49 return apply_filters( 'get_comment_author', $author, $comment_ ID, $comment );49 return apply_filters( 'get_comment_author', $author, $comment_id, $comment ); 50 50 } 51 51 … … 54 54 * 55 55 * @since 0.71 56 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.57 * 58 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or the ID of the comment for which to print the author.56 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 57 * 58 * @param int|WP_Comment $comment_id Optional. WP_Comment or the ID of the comment for which to print the author. 59 59 * Default current comment. 60 60 */ 61 function comment_author( $comment_ ID= 0 ) {62 $comment = get_comment( $comment_ ID);61 function comment_author( $comment_id = 0 ) { 62 $comment = get_comment( $comment_id ); 63 63 $author = get_comment_author( $comment ); 64 64 … … 67 67 * 68 68 * @since 1.2.0 69 * @since 4.1.0 The `$comment_ ID` parameter was added.69 * @since 4.1.0 The `$comment_id` parameter was added. 70 70 * 71 71 * @param string $author The comment author's username. 72 * @param string $comment_ IDThe comment ID as a numeric string.72 * @param string $comment_id The comment ID as a numeric string. 73 73 */ 74 74 echo apply_filters( 'comment_author', $author, $comment->comment_ID ); … … 79 79 * 80 80 * @since 1.5.0 81 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.82 * 83 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or the ID of the comment for which to get the author's email.81 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 82 * 83 * @param int|WP_Comment $comment_id Optional. WP_Comment or the ID of the comment for which to get the author's email. 84 84 * Default current comment. 85 85 * @return string The current comment author's email 86 86 */ 87 function get_comment_author_email( $comment_ ID= 0 ) {88 $comment = get_comment( $comment_ ID);87 function get_comment_author_email( $comment_id = 0 ) { 88 $comment = get_comment( $comment_id ); 89 89 90 90 /** … … 92 92 * 93 93 * @since 1.5.0 94 * @since 4.1.0 The `$comment_ ID` and `$comment` parameters were added.94 * @since 4.1.0 The `$comment_id` and `$comment` parameters were added. 95 95 * 96 96 * @param string $comment_author_email The comment author's email address. 97 * @param string $comment_ IDThe comment ID as a numeric string.97 * @param string $comment_id The comment ID as a numeric string. 98 98 * @param WP_Comment $comment The comment object. 99 99 */ … … 111 111 * 112 112 * @since 0.71 113 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.114 * 115 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or the ID of the comment for which to print the author's email.113 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 114 * 115 * @param int|WP_Comment $comment_id Optional. WP_Comment or the ID of the comment for which to print the author's email. 116 116 * Default current comment. 117 117 */ 118 function comment_author_email( $comment_ ID= 0 ) {119 $comment = get_comment( $comment_ ID);118 function comment_author_email( $comment_id = 0 ) { 119 $comment = get_comment( $comment_id ); 120 120 $author_email = get_comment_author_email( $comment ); 121 121 … … 124 124 * 125 125 * @since 1.2.0 126 * @since 4.1.0 The `$comment_ ID` parameter was added.126 * @since 4.1.0 The `$comment_id` parameter was added. 127 127 * 128 128 * @param string $author_email The comment author's email address. 129 * @param string $comment_ IDThe comment ID as a numeric string.129 * @param string $comment_id The comment ID as a numeric string. 130 130 */ 131 131 echo apply_filters( 'author_email', $author_email, $comment->comment_ID ); … … 209 209 * 210 210 * Both get_comment_author_url() and get_comment_author() rely on get_comment(), 211 * which falls back to the global comment variable if the $comment_ IDargument is empty.211 * which falls back to the global comment variable if the $comment_id argument is empty. 212 212 * 213 213 * @since 1.5.0 214 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.215 * 216 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or the ID of the comment for which to get the author's link.214 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 215 * 216 * @param int|WP_Comment $comment_id Optional. WP_Comment or the ID of the comment for which to get the author's link. 217 217 * Default current comment. 218 218 * @return string The comment author name or HTML link for author's URL. 219 219 */ 220 function get_comment_author_link( $comment_ ID= 0 ) {221 $comment = get_comment( $comment_ ID);222 $comment_ ID = ! empty( $comment->comment_ID ) ? $comment->comment_ID : (string) $comment_ID;220 function get_comment_author_link( $comment_id = 0 ) { 221 $comment = get_comment( $comment_id ); 222 $comment_id = ! empty( $comment->comment_ID ) ? $comment->comment_ID : (string) $comment_id; 223 223 $url = get_comment_author_url( $comment ); 224 224 $author = get_comment_author( $comment ); … … 264 264 * 265 265 * @since 1.5.0 266 * @since 4.1.0 The `$author` and `$comment_ ID` parameters were added.266 * @since 4.1.0 The `$author` and `$comment_id` parameters were added. 267 267 * 268 268 * @param string $return The HTML-formatted comment author link. 269 269 * Empty for an invalid URL. 270 270 * @param string $author The comment author's username. 271 * @param string $comment_ IDThe comment ID as a numeric string.272 */ 273 return apply_filters( 'get_comment_author_link', $return, $author, $comment_ ID);271 * @param string $comment_id The comment ID as a numeric string. 272 */ 273 return apply_filters( 'get_comment_author_link', $return, $author, $comment_id ); 274 274 } 275 275 … … 278 278 * 279 279 * @since 0.71 280 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.281 * 282 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or the ID of the comment for which to print the author's link.280 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 281 * 282 * @param int|WP_Comment $comment_id Optional. WP_Comment or the ID of the comment for which to print the author's link. 283 283 * Default current comment. 284 284 */ 285 function comment_author_link( $comment_ ID= 0 ) {286 echo get_comment_author_link( $comment_ ID);285 function comment_author_link( $comment_id = 0 ) { 286 echo get_comment_author_link( $comment_id ); 287 287 } 288 288 … … 291 291 * 292 292 * @since 1.5.0 293 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.294 * 295 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or the ID of the comment for which to get the author's IP address.293 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 294 * 295 * @param int|WP_Comment $comment_id Optional. WP_Comment or the ID of the comment for which to get the author's IP address. 296 296 * Default current comment. 297 297 * @return string Comment author's IP address, or an empty string if it's not available. 298 298 */ 299 function get_comment_author_IP( $comment_ ID= 0 ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid300 $comment = get_comment( $comment_ ID);299 function get_comment_author_IP( $comment_id = 0 ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid 300 $comment = get_comment( $comment_id ); 301 301 302 302 /** … … 304 304 * 305 305 * @since 1.5.0 306 * @since 4.1.0 The `$comment_ ID` and `$comment` parameters were added.306 * @since 4.1.0 The `$comment_id` and `$comment` parameters were added. 307 307 * 308 308 * @param string $comment_author_ip The comment author's IP address, or an empty string if it's not available. 309 * @param string $comment_ IDThe comment ID as a numeric string.309 * @param string $comment_id The comment ID as a numeric string. 310 310 * @param WP_Comment $comment The comment object. 311 311 */ … … 317 317 * 318 318 * @since 0.71 319 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.320 * 321 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or the ID of the comment for which to print the author's IP address.319 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 320 * 321 * @param int|WP_Comment $comment_id Optional. WP_Comment or the ID of the comment for which to print the author's IP address. 322 322 * Default current comment. 323 323 */ 324 function comment_author_IP( $comment_ ID= 0 ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid325 echo esc_html( get_comment_author_IP( $comment_ ID) );324 function comment_author_IP( $comment_id = 0 ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid 325 echo esc_html( get_comment_author_IP( $comment_id ) ); 326 326 } 327 327 … … 330 330 * 331 331 * @since 1.5.0 332 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.333 * 334 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or the ID of the comment for which to get the author's URL.332 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 333 * 334 * @param int|WP_Comment $comment_id Optional. WP_Comment or the ID of the comment for which to get the author's URL. 335 335 * Default current comment. 336 336 * @return string Comment author URL, if provided, an empty string otherwise. 337 337 */ 338 function get_comment_author_url( $comment_ ID= 0 ) {339 $comment = get_comment( $comment_ ID);338 function get_comment_author_url( $comment_id = 0 ) { 339 $comment = get_comment( $comment_id ); 340 340 $url = ''; 341 341 $id = 0; … … 351 351 * 352 352 * @since 1.5.0 353 * @since 4.1.0 The `$comment_ ID` and `$comment` parameters were added.353 * @since 4.1.0 The `$comment_id` and `$comment` parameters were added. 354 354 * 355 355 * @param string $url The comment author's URL, or an empty string. 356 * @param string|int $comment_ IDThe comment ID as a numeric string, or 0 if not found.356 * @param string|int $comment_id The comment ID as a numeric string, or 0 if not found. 357 357 * @param WP_Comment|null $comment The comment object, or null if not found. 358 358 */ … … 364 364 * 365 365 * @since 0.71 366 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.367 * 368 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or the ID of the comment for which to print the author's URL.366 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 367 * 368 * @param int|WP_Comment $comment_id Optional. WP_Comment or the ID of the comment for which to print the author's URL. 369 369 * Default current comment. 370 370 */ 371 function comment_author_url( $comment_ ID= 0 ) {372 $comment = get_comment( $comment_ ID);371 function comment_author_url( $comment_id = 0 ) { 372 $comment = get_comment( $comment_id ); 373 373 $author_url = get_comment_author_url( $comment ); 374 374 … … 377 377 * 378 378 * @since 1.2.0 379 * @since 4.1.0 The `$comment_ ID` parameter was added.379 * @since 4.1.0 The `$comment_id` parameter was added. 380 380 * 381 381 * @param string $author_url The comment author's URL. 382 * @param string $comment_ IDThe comment ID as a numeric string.382 * @param string $comment_id The comment ID as a numeric string. 383 383 */ 384 384 echo apply_filters( 'comment_url', $author_url, $comment->comment_ID ); … … 576 576 * 577 577 * @since 1.5.0 578 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.578 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 579 579 * 580 580 * @param string $format Optional. PHP date format. Defaults to the 'date_format' option. 581 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or ID of the comment for which to get the date.581 * @param int|WP_Comment $comment_id Optional. WP_Comment or ID of the comment for which to get the date. 582 582 * Default current comment. 583 583 * @return string The comment's date. 584 584 */ 585 function get_comment_date( $format = '', $comment_ ID= 0 ) {586 $comment = get_comment( $comment_ ID);585 function get_comment_date( $format = '', $comment_id = 0 ) { 586 $comment = get_comment( $comment_id ); 587 587 588 588 $_format = ! empty( $format ) ? $format : get_option( 'date_format' ); … … 606 606 * 607 607 * @since 0.71 608 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.608 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 609 609 * 610 610 * @param string $format Optional. PHP date format. Defaults to the 'date_format' option. 611 * @param int|WP_Comment $comment_ IDWP_Comment or ID of the comment for which to print the date.611 * @param int|WP_Comment $comment_id WP_Comment or ID of the comment for which to print the date. 612 612 * Default current comment. 613 613 */ 614 function comment_date( $format = '', $comment_ ID= 0 ) {615 echo get_comment_date( $format, $comment_ ID);614 function comment_date( $format = '', $comment_id = 0 ) { 615 echo get_comment_date( $format, $comment_id ); 616 616 } 617 617 … … 622 622 * 623 623 * @since 1.5.0 624 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.625 * 626 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or ID of the comment for which to get the excerpt.624 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 625 * 626 * @param int|WP_Comment $comment_id Optional. WP_Comment or ID of the comment for which to get the excerpt. 627 627 * Default current comment. 628 628 * @return string The possibly truncated comment excerpt. 629 629 */ 630 function get_comment_excerpt( $comment_ ID= 0 ) {631 $comment = get_comment( $comment_ ID);630 function get_comment_excerpt( $comment_id = 0 ) { 631 $comment = get_comment( $comment_id ); 632 632 633 633 if ( ! post_password_required( $comment->comment_post_ID ) ) { … … 655 655 * 656 656 * @since 1.5.0 657 * @since 4.1.0 The `$comment_ ID` and `$comment` parameters were added.657 * @since 4.1.0 The `$comment_id` and `$comment` parameters were added. 658 658 * 659 659 * @param string $excerpt The comment excerpt text. 660 * @param string $comment_ IDThe comment ID as a numeric string.660 * @param string $comment_id The comment ID as a numeric string. 661 661 * @param WP_Comment $comment The comment object. 662 662 */ … … 668 668 * 669 669 * @since 1.2.0 670 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.671 * 672 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or ID of the comment for which to print the excerpt.670 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 671 * 672 * @param int|WP_Comment $comment_id Optional. WP_Comment or ID of the comment for which to print the excerpt. 673 673 * Default current comment. 674 674 */ 675 function comment_excerpt( $comment_ ID= 0 ) {676 $comment = get_comment( $comment_ ID);675 function comment_excerpt( $comment_id = 0 ) { 676 $comment = get_comment( $comment_id ); 677 677 $comment_excerpt = get_comment_excerpt( $comment ); 678 678 … … 681 681 * 682 682 * @since 1.2.0 683 * @since 4.1.0 The `$comment_ ID` parameter was added.683 * @since 4.1.0 The `$comment_id` parameter was added. 684 684 * 685 685 * @param string $comment_excerpt The comment excerpt text. 686 * @param string $comment_ IDThe comment ID as a numeric string.686 * @param string $comment_id The comment ID as a numeric string. 687 687 */ 688 688 echo apply_filters( 'comment_excerpt', $comment_excerpt, $comment->comment_ID ); … … 698 698 function get_comment_ID() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid 699 699 $comment = get_comment(); 700 $comment_ ID= ! empty( $comment->comment_ID ) ? $comment->comment_ID : '0';700 $comment_id = ! empty( $comment->comment_ID ) ? $comment->comment_ID : '0'; 701 701 702 702 /** … … 706 706 * @since 4.1.0 The `$comment` parameter was added. 707 707 * 708 * @param string $comment_ IDThe current comment ID as a numeric string.708 * @param string $comment_id The current comment ID as a numeric string. 709 709 * @param WP_Comment $comment The comment object. 710 710 */ 711 return apply_filters( 'get_comment_ID', $comment_ ID, $comment ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase711 return apply_filters( 'get_comment_ID', $comment_id, $comment ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase 712 712 } 713 713 … … 986 986 * 987 987 * @since 1.5.0 988 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.988 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 989 989 * @since 5.4.0 Added 'In reply to %s.' prefix to child comments in comments feed. 990 990 * 991 991 * @see Walker_Comment::comment() 992 992 * 993 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or ID of the comment for which to get the text.993 * @param int|WP_Comment $comment_id Optional. WP_Comment or ID of the comment for which to get the text. 994 994 * Default current comment. 995 995 * @param array $args Optional. An array of arguments. Default empty array. 996 996 * @return string The comment content. 997 997 */ 998 function get_comment_text( $comment_ ID= 0, $args = array() ) {999 $comment = get_comment( $comment_ ID);998 function get_comment_text( $comment_id = 0, $args = array() ) { 999 $comment = get_comment( $comment_id ); 1000 1000 1001 1001 $comment_content = $comment->comment_content; … … 1033 1033 * 1034 1034 * @since 0.71 1035 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.1035 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 1036 1036 * 1037 1037 * @see Walker_Comment::comment() 1038 1038 * 1039 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or ID of the comment for which to print the text.1039 * @param int|WP_Comment $comment_id Optional. WP_Comment or ID of the comment for which to print the text. 1040 1040 * Default current comment. 1041 1041 * @param array $args Optional. An array of arguments. Default empty array. 1042 1042 */ 1043 function comment_text( $comment_ ID= 0, $args = array() ) {1044 $comment = get_comment( $comment_ ID);1043 function comment_text( $comment_id = 0, $args = array() ) { 1044 $comment = get_comment( $comment_id ); 1045 1045 1046 1046 $comment_text = get_comment_text( $comment, $args ); … … 1063 1063 * 1064 1064 * @since 1.5.0 1065 * @since 6.2.0 Added the `$comment_ ID` parameter.1065 * @since 6.2.0 Added the `$comment_id` parameter. 1066 1066 * 1067 1067 * @param string $format Optional. PHP date format. Defaults to the 'time_format' option. … … 1069 1069 * @param bool $translate Optional. Whether to translate the time (for use in feeds). 1070 1070 * Default true. 1071 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or ID of the comment for which to get the time.1071 * @param int|WP_Comment $comment_id Optional. WP_Comment or ID of the comment for which to get the time. 1072 1072 * Default current comment. 1073 1073 * @return string The formatted time. 1074 1074 */ 1075 function get_comment_time( $format = '', $gmt = false, $translate = true, $comment_ ID= 0 ) {1076 $comment = get_comment( $comment_ ID);1075 function get_comment_time( $format = '', $gmt = false, $translate = true, $comment_id = 0 ) { 1076 $comment = get_comment( $comment_id ); 1077 1077 1078 1078 if ( null === $comment ) { … … 1104 1104 * 1105 1105 * @since 0.71 1106 * @since 6.2.0 Added the `$comment_ ID` parameter.1106 * @since 6.2.0 Added the `$comment_id` parameter. 1107 1107 * 1108 1108 * @param string $format Optional. PHP time format. Defaults to the 'time_format' option. 1109 * @param int|WP_Comment $comment_ ID Optional. WP_Comment or ID of the comment for which to get the time.1109 * @param int|WP_Comment $comment_id Optional. WP_Comment or ID of the comment for which to print the time. 1110 1110 * Default current comment. 1111 1111 */ 1112 function comment_time( $format = '', $comment_ ID= 0 ) {1113 echo get_comment_time( $format, $comment_ ID);1112 function comment_time( $format = '', $comment_id = 0 ) { 1113 echo get_comment_time( $format, $comment_id ); 1114 1114 } 1115 1115 … … 1118 1118 * 1119 1119 * @since 1.5.0 1120 * @since 4.4.0 Added the ability for `$comment_ ID` to also accept a WP_Comment object.1121 * 1122 * @param int|WP_Comment $comment_ IDOptional. WP_Comment or ID of the comment for which to get the type.1120 * @since 4.4.0 Added the ability for `$comment_id` to also accept a WP_Comment object. 1121 * 1122 * @param int|WP_Comment $comment_id Optional. WP_Comment or ID of the comment for which to get the type. 1123 1123 * Default current comment. 1124 1124 * @return string The comment type. 1125 1125 */ 1126 function get_comment_type( $comment_ ID= 0 ) {1127 $comment = get_comment( $comment_ ID);1126 function get_comment_type( $comment_id = 0 ) { 1127 $comment = get_comment( $comment_id ); 1128 1128 1129 1129 if ( '' === $comment->comment_type ) { … … 1135 1135 * 1136 1136 * @since 1.5.0 1137 * @since 4.1.0 The `$comment_ ID` and `$comment` parameters were added.1137 * @since 4.1.0 The `$comment_id` and `$comment` parameters were added. 1138 1138 * 1139 1139 * @param string $comment_type The type of comment, such as 'comment', 'pingback', or 'trackback'. 1140 * @param string $comment_ IDThe comment ID as a numeric string.1140 * @param string $comment_id The comment ID as a numeric string. 1141 1141 * @param WP_Comment $comment The comment object. 1142 1142 */
Note: See TracChangeset
for help on using the changeset viewer.