From d7da5878adedf149fe7b2fc40bb4bc090497b173 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 2 Jul 2021 07:10:29 +0000 Subject: [PATCH] Docs: Correct description for the `$image` parameter of the `wp_save_image_file` filter. Follow-up to [27357], [48798], [51302]. See #53399. git-svn-id: https://develop.svn.wordpress.org/trunk@51303 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/image-edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/image-edit.php b/src/wp-admin/includes/image-edit.php index 1debdeaaaa..a91f082bb6 100644 --- a/src/wp-admin/includes/image-edit.php +++ b/src/wp-admin/includes/image-edit.php @@ -375,7 +375,7 @@ function wp_save_image_file( $filename, $image, $mime_type, $post_id ) { * * @param bool|null $override Value to return instead of saving. Default null. * @param string $filename Name of the file to be saved. - * @param resource|GdImage $image The image editor instance. + * @param resource|GdImage $image Image resource or GdImage instance. * @param string $mime_type The mime type of the image. * @param int $post_id Attachment post ID. */