Changeset 41970
- Timestamp:
- 10/23/2017 05:10:25 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase-ajax.php
r41293 r41970 60 60 61 61 public static function setUpBeforeClass() { 62 add_filter( 'wp_doing_ajax', '__return_true' );63 64 62 remove_action( 'admin_init', '_maybe_update_core' ); 65 63 remove_action( 'admin_init', '_maybe_update_plugins' ); … … 83 81 parent::setUp(); 84 82 83 add_filter( 'wp_doing_ajax', '__return_true' ); 85 84 add_filter( 'wp_die_ajax_handler', array( $this, 'getDieHandler' ), 1, 1 ); 86 85
Note: See TracChangeset
for help on using the changeset viewer.