Changeset 54226 for trunk/tests/phpunit/tests/image/editorGd.php
- Timestamp:
- 09/19/2022 10:51:53 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/editorGd.php
r54086 r54226 18 18 require_once ABSPATH . WPINC . '/class-wp-image-editor-gd.php'; 19 19 20 add_filter( 'image_editor_output_format', '__return_empty_array' );21 22 20 // This needs to come after the mock image editor class is loaded. 23 21 parent::set_up(); … … 32 30 33 31 $this->remove_added_uploads(); 34 35 remove_filter( 'image_editor_output_format', '__return_empty_array' );36 32 37 33 parent::tear_down();
Note: See TracChangeset
for help on using the changeset viewer.