Changeset 35053 for trunk/src/wp-includes/media.php
- Timestamp:
- 10/12/2015 04:01:10 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r35052 r35053 456 456 * @param int $dest_w New width in pixels. 457 457 * @param int $dest_h New height in pixels. 458 * @param bool|array $crop Optional. Whether to crop image to specified height and widthor resize.458 * @param bool|array $crop Optional. Whether to crop image to specified width and height or resize. 459 459 * An array can specify positioning of the crop area. Default false. 460 460 * @return false|array False on failure. Returned array matches parameters for `imagecopyresampled()`. 461 461 */ 462 function image_resize_dimensions( $orig_w, $orig_h, $dest_w, $dest_h, $crop = false) {462 function image_resize_dimensions( $orig_w, $orig_h, $dest_w, $dest_h, $crop = false ) { 463 463 464 464 if ($orig_w <= 0 || $orig_h <= 0) … … 481 481 * @param int $dest_w New width in pixels. 482 482 * @param int $dest_h New height in pixels. 483 * @param bool|array $crop Whether to crop image to specified height and widthor resize.483 * @param bool|array $crop Whether to crop image to specified width and height or resize. 484 484 * An array can specify positioning of the crop area. Default false. 485 485 */
Note: See TracChangeset
for help on using the changeset viewer.