Changeset 58612 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
- Timestamp:
- 07/01/2024 08:43:55 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r58457 r58612 627 627 $height = (int) round( ( $size['height'] * $args['height'] ) / 100.0 ); 628 628 629 if ( $size['width'] !== $width &&$size['height'] !== $height ) {629 if ( $size['width'] !== $width || $size['height'] !== $height ) { 630 630 $result = $image_editor->crop( $crop_x, $crop_y, $width, $height ); 631 631
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)