Changeset 56204 for trunk/src/wp-includes/class-wp-image-editor-imagick.php
- Timestamp:
- 07/11/2023 06:29:11 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-image-editor-imagick.php
r56178 r56204 309 309 * @since 3.5.0 310 310 * 311 * @param int|null $max_w Image width.312 * @param int|null $max_h Image height.313 * @param bool $crop311 * @param int|null $max_w Image width. 312 * @param int|null $max_h Image height. 313 * @param bool|array $crop 314 314 * @return true|WP_Error 315 315 */ … … 496 496 * Array of height, width values, and whether to crop. 497 497 * 498 * @type int $width Image width. Optional if `$height` is specified.499 * @type int $height Image height. Optional if `$width` is specified.500 * @type bool $crop Optional. Whether to crop the image. Default false.498 * @type int $width Image width. Optional if `$height` is specified. 499 * @type int $height Image height. Optional if `$width` is specified. 500 * @type bool|array $crop Optional. Whether to crop the image. Default false. 501 501 * } 502 502 * } … … 525 525 * Array of size data. 526 526 * 527 * @type int $width The maximum width in pixels.528 * @type int $height The maximum height in pixels.529 * @type bool $crop Whether to crop the image to exact dimensions.527 * @type int $width The maximum width in pixels. 528 * @type int $height The maximum height in pixels. 529 * @type bool|array $crop Whether to crop the image to exact dimensions. 530 530 * } 531 531 * @return array|WP_Error The image data array for inclusion in the `sizes` array in the image meta,
Note: See TracChangeset
for help on using the changeset viewer.