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
This commit is contained in:
Sergey Biryukov 2020-10-20 14:39:49 +00:00
parent 7021f5f4b5
commit 62e7a97518
1 changed files with 1 additions and 1 deletions

View File

@ -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.