Changeset 47060 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 01/11/2020 06:30:58 PM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/comment-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r47032 r47060 428 428 * @param bool $echo Optional. Whether to echo or return the output. 429 429 * Default true. 430 * @return string If `$echo` is false, the class will be returned. Void otherwise.430 * @return void|string Void if `$echo` argument is true, comment classes if `$echo` is false. 431 431 */ 432 432 function comment_class( $class = '', $comment = null, $post_id = null, $echo = true ) { 433 433 // Separates classes with a single space, collates classes for comment DIV 434 434 $class = 'class="' . join( ' ', get_comment_class( $class, $comment, $post_id ) ) . '"'; 435 435 436 if ( $echo ) { 436 437 echo $class; … … 1993 1994 * } 1994 1995 * @param WP_Comment[] $comments Optional. Array of WP_Comment objects. 1996 * @return void|string Void if 'echo' argument is true, or no comments to list. 1997 * Otherwise, HTML list of comments. 1995 1998 */ 1996 1999 function wp_list_comments( $args = array(), $comments = null ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)