Changeset 1155 in tests for trunk/tests/functions/deprecated.php
- Timestamp:
- 11/23/2012 03:52:01 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/tests/functions/deprecated.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/functions/deprecated.php
r1148 r1155 162 162 include_once( ABSPATH . 'wp-admin/includes/image-edit.php' ); 163 163 $file = wp_tempnam(); 164 $img = WP_Image_Editor::get_instance( DIR_TESTDATA . '/images/canola.jpg' );164 $img = wp_get_image_editor( DIR_TESTDATA . '/images/canola.jpg' ); 165 165 wp_save_image_file( $file, $img, 'image/jpeg', 1 ); 166 166 unset( $img );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)