diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php
index 1e3673e894..6e58658189 100644
|
a
|
b
|
function image_downsize( $id, $size = 'medium' ) { |
| 288 | 288 | * If true, image will be cropped to the specified dimensions using center positions. |
| 289 | 289 | * If an array, the image will be cropped using the array to specify the crop location: |
| 290 | 290 | * |
| 291 | | * @type string $0 The x crop position. Accepts 'left' 'center', or 'right'. |
| | 291 | * @type string $0 The x crop position. Accepts 'left', 'center', or 'right'. |
| 292 | 292 | * @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'. |
| 293 | 293 | * } |
| 294 | 294 | */ |
| … |
… |
function remove_image_size( $name ) { |
| 350 | 350 | * If true, image will be cropped to the specified dimensions using center positions. |
| 351 | 351 | * If an array, the image will be cropped using the array to specify the crop location: |
| 352 | 352 | * |
| 353 | | * @type string $0 The x crop position. Accepts 'left' 'center', or 'right'. |
| | 353 | * @type string $0 The x crop position. Accepts 'left', 'center', or 'right'. |
| 354 | 354 | * @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'. |
| 355 | 355 | * } |
| 356 | 356 | */ |
| … |
… |
function wp_constrain_dimensions( $current_width, $current_height, $max_width = |
| 530 | 530 | * If true, image will be cropped to the specified dimensions using center positions. |
| 531 | 531 | * If an array, the image will be cropped using the array to specify the crop location: |
| 532 | 532 | * |
| 533 | | * @type string $0 The x crop position. Accepts 'left' 'center', or 'right'. |
| | 533 | * @type string $0 The x crop position. Accepts 'left', 'center', or 'right'. |
| 534 | 534 | * @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'. |
| 535 | 535 | * } |
| 536 | 536 | * @return array|false Returned array matches parameters for `imagecopyresampled()`. False on failure. |
| … |
… |
function image_resize_dimensions( $orig_w, $orig_h, $dest_w, $dest_h, $crop = fa |
| 684 | 684 | * If true, image will be cropped to the specified dimensions using center positions. |
| 685 | 685 | * If an array, the image will be cropped using the array to specify the crop location: |
| 686 | 686 | * |
| 687 | | * @type string $0 The x crop position. Accepts 'left' 'center', or 'right'. |
| | 687 | * @type string $0 The x crop position. Accepts 'left', 'center', or 'right'. |
| 688 | 688 | * @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'. |
| 689 | 689 | * } |
| 690 | 690 | * @return array|false Metadata array on success. False if no image was created. |