Customize: Fix phpunit tests after [40704] due to logic inversion error.
git-svn-id: https://develop.svn.wordpress.org/trunk@40716 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
eedf5b2a60
commit
fe789a2644
@ -77,8 +77,8 @@ class Tests_WP_Customize_Widgets extends WP_UnitTestCase {
|
||||
|
||||
function do_customize_boot_actions() {
|
||||
$_SERVER['REQUEST_METHOD'] = 'POST';
|
||||
do_action( 'setup_theme' );
|
||||
$_REQUEST['nonce'] = wp_create_nonce( 'preview-customize_' . $this->manager->theme()->get_stylesheet() );
|
||||
do_action( 'setup_theme' );
|
||||
do_action( 'after_setup_theme' );
|
||||
do_action( 'init' );
|
||||
do_action( 'wp_loaded' );
|
||||
|
Loading…
Reference in New Issue
Block a user