Changeset 44559
- Timestamp:
- 01/11/2019 03:03:08 AM (6 years ago)
- Location:
- trunk/tests/phpunit/tests/customize
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/control.php
r43571 r44559 29 29 wp_set_current_user( $this->factory()->user->create( array( 'role' => 'administrator' ) ) ); 30 30 require_once( ABSPATH . WPINC . '/class-wp-customize-manager.php' ); 31 // @codingStandardsIgnoreStart32 31 $GLOBALS['wp_customize'] = new WP_Customize_Manager(); 33 // @codingStandardsIgnoreEnd 34 $this->wp_customize = $GLOBALS['wp_customize']; 32 $this->wp_customize = $GLOBALS['wp_customize']; 35 33 } 36 34 -
trunk/tests/phpunit/tests/customize/partial.php
r43571 r44559 33 33 parent::setUp(); 34 34 require_once( ABSPATH . WPINC . '/class-wp-customize-manager.php' ); 35 // @codingStandardsIgnoreStart36 35 $GLOBALS['wp_customize'] = new WP_Customize_Manager(); 37 // @codingStandardsIgnoreEnd 38 $this->wp_customize = $GLOBALS['wp_customize']; 36 $this->wp_customize = $GLOBALS['wp_customize']; 39 37 if ( isset( $this->wp_customize->selective_refresh ) ) { 40 38 $this->selective_refresh = $this->wp_customize->selective_refresh; -
trunk/tests/phpunit/tests/customize/selective-refresh-ajax.php
r43571 r44559 43 43 44 44 require_once( ABSPATH . WPINC . '/class-wp-customize-manager.php' ); 45 // @codingStandardsIgnoreStart46 45 $GLOBALS['wp_customize'] = new WP_Customize_Manager(); 47 // @codingStandardsIgnoreEnd 48 $this->wp_customize = $GLOBALS['wp_customize']; 46 $this->wp_customize = $GLOBALS['wp_customize']; 49 47 if ( isset( $this->wp_customize->selective_refresh ) ) { 50 48 $this->selective_refresh = $this->wp_customize->selective_refresh; -
trunk/tests/phpunit/tests/customize/selective-refresh.php
r43571 r44559 33 33 parent::setUp(); 34 34 require_once( ABSPATH . WPINC . '/class-wp-customize-manager.php' ); 35 // @codingStandardsIgnoreStart36 35 $GLOBALS['wp_customize'] = new WP_Customize_Manager(); 37 // @codingStandardsIgnoreEnd 38 $this->wp_customize = $GLOBALS['wp_customize']; 36 $this->wp_customize = $GLOBALS['wp_customize']; 39 37 if ( isset( $this->wp_customize->selective_refresh ) ) { 40 38 $this->selective_refresh = $this->wp_customize->selective_refresh;
Note: See TracChangeset
for help on using the changeset viewer.