Changeset 47200 for trunk/tests/phpunit/tests/functions/deprecated.php
- Timestamp:
- 02/06/2020 09:40:05 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/deprecated.php
r47198 r47200 155 155 156 156 // Call wp_save_image_file(). 157 include_once ABSPATH . 'wp-admin/includes/image-edit.php';157 require_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 require_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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)