Docs: Various docblock corrections and improvements for changes introduced in 6.0.

See #54729

Built from https://develop.svn.wordpress.org/trunk@53302


git-svn-id: http://core.svn.wordpress.org/trunk@52891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn
2022-04-28 09:59:13 +00:00
parent 13ed66ec88
commit c6dbcf8576
12 changed files with 31 additions and 21 deletions

View File

@@ -509,12 +509,12 @@ class WP_Media_List_Table extends WP_List_Table {
}
/**
* Filters the published time of the post.
* Filters the published time of an attachment displayed in the Media list table.
*
* @since 6.0.0
*
* @param string $h_time The published time.
* @param WP_Post $post Post object.
* @param WP_Post $post Attachment object.
* @param string $column_name The column name.
*/
echo apply_filters( 'media_date_column_time', $h_time, $post, 'date' );

View File

@@ -49,7 +49,7 @@ function wp_image_editor( $post_id, $msg = false ) {
*
* @since 6.0.0
*
* @param bool|array $edit_custom_sizes True if custom sizes can be edited or array of custom sizes.
* @param bool|string[] $edit_custom_sizes True if custom sizes can be edited or array of custom size names.
*/
$edit_custom_sizes = apply_filters( 'edit_custom_thumbnail_sizes', $edit_custom_sizes );
?>