Skip to content

Commit 62e7a97

Browse files
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
1 parent 7021f5f commit 62e7a97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-admin/includes/template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2237,7 +2237,7 @@ function get_post_states( $post ) {
22372237
* Outputs the attachment media states as HTML.
22382238
*
22392239
* @since 3.2.0
2240-
* @since 5.6.0 Added the `$echo` parameter.
2240+
* @since 5.6.0 Added the `$echo` parameter and a return value.
22412241
*
22422242
* @param WP_Post $post The attachment post to retrieve states for.
22432243
* @param bool $echo Optional. Whether to echo the post states as an HTML string. Default true.

0 commit comments

Comments
 (0)