Changeset 34163 for trunk/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 09/15/2015 02:49:12 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ajax-actions.php
r34161 r34163 3156 3156 $cropped = apply_filters( 'wp_create_file_in_uploads', $cropped, $attachment_id ); // For replication. 3157 3157 3158 $parent_url = get_post( $attachment_id )->guid;3158 $parent_url = wp_get_attachment_url( $attachment_id ); 3159 3159 $url = str_replace( basename( $parent_url ), basename( $cropped ), $parent_url ); 3160 3160
Note: See TracChangeset
for help on using the changeset viewer.