Changeset 22817 for trunk/wp-admin/includes/image.php
- Timestamp:
- 11/22/2012 09:52:16 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/image.php
r22571 r22817 37 37 } 38 38 39 $editor = WP_Image_Editor::get_instance( $src );39 $editor = wp_get_image_editor( $src ); 40 40 if ( is_wp_error( $editor ) ) 41 41 return $editor; … … 101 101 102 102 if ( $sizes ) { 103 $editor = WP_Image_Editor::get_instance( $file );103 $editor = wp_get_image_editor( $file ); 104 104 105 105 if ( ! is_wp_error( $editor ) )
Note: See TracChangeset
for help on using the changeset viewer.