Changeset 48547 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
- Timestamp:
- 07/21/2020 04:52:48 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r48525 r48547 425 425 ! $image_meta || 426 426 ! $image_file || 427 ! wp_image_file_matches_image_meta( $request['src'], $image_meta )427 ! wp_image_file_matches_image_meta( $request['src'], $image_meta, $attachment_id ) 428 428 ) { 429 429 return new WP_Error(
Note: See TracChangeset
for help on using the changeset viewer.