diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php index 91ff88ec8d..be00e1f7b2 100644 --- a/wp-admin/includes/class-wp-comments-list-table.php +++ b/wp-admin/includes/class-wp-comments-list-table.php @@ -55,6 +55,15 @@ class WP_Comments_List_Table extends WP_List_Table { ); } + /** + * Adds avatars to comment author names. + * + * @since 3.1.0 + * + * @param string $name Comment author name. + * @param int $comment_ID Comment ID. + * @return string Avatar with the user name. + */ public function floated_admin_avatar( $name, $comment_ID ) { $comment = get_comment( $comment_ID ); $avatar = get_avatar( $comment, 32, 'mystery' ); diff --git a/wp-admin/includes/comment.php b/wp-admin/includes/comment.php index 4000fe7a36..9683c72883 100644 --- a/wp-admin/includes/comment.php +++ b/wp-admin/includes/comment.php @@ -181,12 +181,12 @@ function get_pending_comments_num( $post_id ) { } /** - * Add avatars to relevant places in admin, or try to. + * Adds avatars to relevant places in admin. * * @since 2.5.0 * * @param string $name User name. - * @return string Avatar with Admin name. + * @return string Avatar with the user name. */ function floated_admin_avatar( $name ) { $avatar = get_avatar( get_comment(), 32, 'mystery' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 55732c90c6..3964812a92 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-47506'; +$wp_version = '5.5-alpha-47507'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.