Skip to content

Commit fe789a2

Browse files
committed
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
1 parent eedf5b2 commit fe789a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/phpunit/tests/customize/widgets.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ function set_customized_post_data( $customized ) {
7777

7878
function do_customize_boot_actions() {
7979
$_SERVER['REQUEST_METHOD'] = 'POST';
80-
do_action( 'setup_theme' );
8180
$_REQUEST['nonce'] = wp_create_nonce( 'preview-customize_' . $this->manager->theme()->get_stylesheet() );
81+
do_action( 'setup_theme' );
8282
do_action( 'after_setup_theme' );
8383
do_action( 'init' );
8484
do_action( 'wp_loaded' );

0 commit comments

Comments
 (0)