Changeset 58706 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
- Timestamp:
- 07/11/2024 06:22:51 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r58694 r58706 451 451 452 452 /** 453 * Performs post processing on an attachment.453 * Performs post-processing on an attachment. 454 454 * 455 455 * @since 5.3.0 … … 472 472 473 473 /** 474 * Checks if a given request can perform post processing on an attachment.474 * Checks if a given request can perform post-processing on an attachment. 475 475 * 476 476 * @since 5.3.0 … … 602 602 switch ( $modifier['type'] ) { 603 603 case 'rotate': 604 // Rotation direction: clockwise vs. counter clockwise.604 // Rotation direction: clockwise vs. counterclockwise. 605 605 $rotate = 0 - $args['angle']; 606 606 … … 662 662 $filename = "{$image_name}.{$image_ext}"; 663 663 664 // Create the uploads sub -directory if needed.664 // Create the uploads subdirectory if needed. 665 665 $uploads = wp_upload_dir(); 666 666
Note: See TracChangeset
for help on using the changeset viewer.