Changeset 22553
- Timestamp:
- 11/13/2012 12:03:55 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/image.php
r22538 r22553 31 31 // If the file doesn't exist, attempt a url fopen on the src link. 32 32 // This can occur with certain file replication plugins. 33 $src_file = _load_image_to_edit_path( $src, 'full' ); 34 } 35 } 36 37 $editor = WP_Image_Editor::get_instance( $src_file ); 33 $src = _load_image_to_edit_path( $src, 'full' ); 34 } else { 35 $src = $src_file; 36 } 37 } 38 39 $editor = WP_Image_Editor::get_instance( $src ); 38 40 if ( is_wp_error( $editor ) ) 39 41 return $editor;
Note: See TracChangeset
for help on using the changeset viewer.