Changeset 31043
- Timestamp:
- 01/04/2015 02:51:20 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/image-edit.php
r30644 r31043 749 749 $backup_sizes[$tag] = array('width' => $meta['width'], 'height' => $meta['height'], 'file' => $path_parts['basename']); 750 750 751 $success = update_attached_file( $post_id, $new_path );751 $success = ( $path === $new_path ) || update_attached_file( $post_id, $new_path ); 752 752 753 753 $meta['file'] = _wp_relative_upload_path( $new_path );
Note: See TracChangeset
for help on using the changeset viewer.