Changeset 47198 for trunk/tests/phpunit/tests/functions/deprecated.php
- Timestamp:
- 02/06/2020 06:31:22 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/deprecated.php
r47122 r47198 155 155 156 156 // Call wp_save_image_file(). 157 include_once ( ABSPATH . 'wp-admin/includes/image-edit.php' );157 include_once ABSPATH . 'wp-admin/includes/image-edit.php'; 158 158 $file = wp_tempnam(); 159 159 $img = imagecreatefromjpeg( DIR_TESTDATA . '/images/canola.jpg' ); … … 178 178 179 179 // Call wp_save_image_file(). 180 include_once ( ABSPATH . 'wp-admin/includes/image-edit.php' );180 include_once ABSPATH . 'wp-admin/includes/image-edit.php'; 181 181 $file = wp_tempnam(); 182 182 $img = wp_get_image_editor( DIR_TESTDATA . '/images/canola.jpg' );
Note:
See TracChangeset
for help on using the changeset viewer.