From 11650532209b5a290fb3a56caa69e41b47ec48d4 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 15:58:13 +0000 Subject: [PATCH] Docs: Adjust the order of 'width' and 'height' (for consistency) for the `$crop` parameter documentation in `add_image_size()`. Props jaspermdegroot. See #34257. git-svn-id: https://develop.svn.wordpress.org/trunk@35051 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 94ce3cd53f..1f7e7786c9 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -231,7 +231,7 @@ function image_downsize( $id, $size = 'medium' ) { * @param string $name Image size identifier. * @param int $width Image width in pixels. * @param int $height Image height in pixels. - * @param bool|array $crop Optional. Whether to crop images to specified height and width or resize. + * @param bool|array $crop Optional. Whether to crop images to specified width and height or resize. * An array can specify positioning of the crop area. Default false. */ function add_image_size( $name, $width = 0, $height = 0, $crop = false ) {