Ticket #42463: 42463.patch
| File 42463.patch, 974 bytes (added by , 8 years ago) |
|---|
-
src/wp-includes/media.php
271 271 * @param string $name Image size identifier. 272 272 * @param int $width Image width in pixels. 273 273 * @param int $height Image height in pixels. 274 * @param bool|array $crop Optional. Whether to crop images to specified width and height or resize. 275 * An array can specify positioning of the crop area. Default false. 274 * @param bool|array $crop Optional. If true, images will be crop without any adjustments 275 * in dimensions. Otherwise try to adjust images dimensions 276 * according specified width and height parameters before we crop it. 276 277 */ 277 278 function add_image_size( $name, $width = 0, $height = 0, $crop = false ) { 278 279 global $_wp_additional_image_sizes;