From 771248a1f33f1c07df0ed6a113416ce7876bd913 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 15:59:25 +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. Built from https://develop.svn.wordpress.org/trunk@35051 git-svn-id: http://core.svn.wordpress.org/trunk@35016 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/media.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index 94ce3cd53f..1f7e7786c9 100644 --- a/wp-includes/media.php +++ b/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 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 7f836725ac..557c7e0468 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-35050'; +$wp_version = '4.4-alpha-35051'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.