Changeset 49693 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 11/24/2020 09:25:46 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r49355 r49693 423 423 * @since 4.4.0 Added the ability for `$comment` to also accept a WP_Comment object. 424 424 * 425 * @param string| array$class Optional. One or more classes to add to the class list.426 * Default empty.427 * @param int|WP_Comment $comment Comment ID or WP_Comment object. Default current comment.428 * @param int|WP_Post $post_id Post ID or WP_Post object. Default current post.429 * @param bool $echo Optional. Whether to echo or return the output.430 * Default true.425 * @param string|string[] $class Optional. One or more classes to add to the class list. 426 * Default empty. 427 * @param int|WP_Comment $comment Comment ID or WP_Comment object. Default current comment. 428 * @param int|WP_Post $post_id Post ID or WP_Post object. Default current post. 429 * @param bool $echo Optional. Whether to echo or return the output. 430 * Default true. 431 431 * @return void|string Void if `$echo` argument is true, comment classes if `$echo` is false. 432 432 */ … … 452 452 * @global int $comment_thread_alt 453 453 * 454 * @param string| array$class Optional. One or more classes to add to the class list. Default empty.455 * @param int|WP_Comment $comment_id Comment ID or WP_Comment object. Default current comment.456 * @param int|WP_Post $post_id Post ID or WP_Post object. Default current post.454 * @param string|string[] $class Optional. One or more classes to add to the class list. Default empty. 455 * @param int|WP_Comment $comment_id Comment ID or WP_Comment object. Default current comment. 456 * @param int|WP_Post $post_id Post ID or WP_Post object. Default current post. 457 457 * @return string[] An array of classes. 458 458 */ … … 531 531 * 532 532 * @param string[] $classes An array of comment classes. 533 * @param string $class A comma-separated listof additional classes added to the list.533 * @param string[] $class An array of additional classes added to the list. 534 534 * @param int $comment_id The comment ID. 535 535 * @param WP_Comment $comment The comment object.
Note: See TracChangeset
for help on using the changeset viewer.