Make WordPress Core

Changeset 27795


Ignore:
Timestamp:
03/27/2014 08:54:08 PM (10 years ago)
Author:
wonderboymusic
Message:

Remove html5 theme support on tearDown() so theme settings don't leak into other tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/testcase.php

    r27183 r27795  
    3838        $wp_query = new WP_Query();
    3939        $post = null;
     40        remove_theme_support( 'html5' );
    4041        remove_filter( 'query', array( $this, '_create_temporary_tables' ) );
    4142        remove_filter( 'query', array( $this, '_drop_temporary_tables' ) );
Note: See TracChangeset for help on using the changeset viewer.