mirror of
git://develop.git.wordpress.org/
synced 2025-01-29 10:38:22 +01:00
Customize: Fix phpunit tests after [40704] due to logic inversion error.
Merge of [40716] to the 4.3 branch. git-svn-id: https://develop.svn.wordpress.org/branches/4.3@40721 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8f1b6dc4be
commit
ff4f97ce12
@ -47,8 +47,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…
x
Reference in New Issue
Block a user