From 62e7a97518fb24c2b920832e8caef81ff86c90d8 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 20 Oct 2020 14:39:49 +0000 Subject: [PATCH] Docs: Update the `@since` note for `_media_states()`. Follow-up to [49223]. Props mukesh27. Fixes #42063. git-svn-id: https://develop.svn.wordpress.org/trunk@49231 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index fbd77136da..1171694bac 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -2237,7 +2237,7 @@ function get_post_states( $post ) { * Outputs the attachment media states as HTML. * * @since 3.2.0 - * @since 5.6.0 Added the `$echo` parameter. + * @since 5.6.0 Added the `$echo` parameter and a return value. * * @param WP_Post $post The attachment post to retrieve states for. * @param bool $echo Optional. Whether to echo the post states as an HTML string. Default true.