mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 14:50:29 +00:00
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
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user