Changeset 56204 for trunk/src/wp-includes/class-wp-image-editor-gd.php
- Timestamp:
- 07/11/2023 06:29:11 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-image-editor-gd.php
r56177 r56204 164 164 * @since 3.5.0 165 165 * 166 * @param int|null $max_w Image width.167 * @param int|null $max_h Image height.168 * @param bool 166 * @param int|null $max_w Image width. 167 * @param int|null $max_h Image height. 168 * @param bool|array $crop 169 169 * @return true|WP_Error 170 170 */ … … 237 237 * Array of height, width values, and whether to crop. 238 238 * 239 * @type int $width Image width. Optional if `$height` is specified.240 * @type int $height Image height. Optional if `$width` is specified.241 * @type bool $crop Optional. Whether to crop the image. Default false.239 * @type int $width Image width. Optional if `$height` is specified. 240 * @type int $height Image height. Optional if `$width` is specified. 241 * @type bool|array $crop Optional. Whether to crop the image. Default false. 242 242 * } 243 243 * } … … 266 266 * Array of size data. 267 267 * 268 * @type int $width The maximum width in pixels.269 * @type int $height The maximum height in pixels.270 * @type bool $crop Whether to crop the image to exact dimensions.268 * @type int $width The maximum width in pixels. 269 * @type int $height The maximum height in pixels. 270 * @type bool|array $crop Whether to crop the image to exact dimensions. 271 271 * } 272 272 * @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.