Changeset 41293 for trunk/tests/phpunit/includes/testcase-ajax.php
- Timestamp:
- 08/22/2017 03:07:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase-ajax.php
r41119 r41293 60 60 61 61 public static function setUpBeforeClass() { 62 if ( ! defined( 'DOING_AJAX' ) ) { 63 define( 'DOING_AJAX', true ); 64 } 62 add_filter( 'wp_doing_ajax', '__return_true' ); 65 63 66 64 remove_action( 'admin_init', '_maybe_update_core' );
Note: See TracChangeset
for help on using the changeset viewer.