- Timestamp:
- 10/21/2016 11:02:37 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/selective-refresh-ajax.php
r38851 r38858 52 52 $this->selective_refresh = $this->wp_customize->selective_refresh; 53 53 } 54 55 // Remove default theme actions that interfere with tests56 remove_action( 'customize_register', 'twentyseventeen_customize_register' );57 54 } 58 55 … … 61 58 */ 62 59 function do_customize_boot_actions() { 63 // Remove actions that call add_theme_support( 'title-tag' ).64 remove_action( 'after_setup_theme', 'twentyfifteen_setup' );65 remove_action( 'after_setup_theme', 'twentysixteen_setup' );66 remove_action( 'after_setup_theme', 'twentyseventeen_setup' );67 68 60 $_SERVER['REQUEST_METHOD'] = 'POST'; 69 61 do_action( 'setup_theme' );
Note: See TracChangeset
for help on using the changeset viewer.