From 0cf4a5e121b9b8202041964273066ec9f90a6b39 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 16:05:30 +0000 Subject: [PATCH] Docs: Adjust the order of 'width' and 'height' (for consistency) for the `$crop` parameter documentation in `image_make_intermediate_size()`. Props jaspermdegroot. See #34257. git-svn-id: https://develop.svn.wordpress.org/trunk@35054 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 31e1309be2..dec367f348 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -561,7 +561,7 @@ function image_resize_dimensions( $orig_w, $orig_h, $dest_w, $dest_h, $crop = fa * @param string $file File path. * @param int $width Image width. * @param int $height Image height. - * @param bool $crop Optional. Whether to crop image to specified height and width or resize. + * @param bool $crop Optional. Whether to crop image to specified width and height or resize. * Default false. * @return false|array False, if no image was created. Metadata array on success. */