- Timestamp:
- 06/18/2024 07:07:52 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/block-supports/block-style-variations.php
r58413 r58429 67 67 switch_theme( 'block-theme' ); 68 68 69 /* 70 * Trigger block style registration that occurs on `init` action. 71 * do_action( 'init' ) could be used here however this direct call 72 * means only the updates being tested are performed. 73 */ 74 wp_register_block_style_variations_from_theme(); 69 // Register theme-defined variations. 70 WP_Theme_JSON_Resolver::get_theme_data(); 71 // Register user-defined variations. 72 WP_Theme_JSON_Resolver::get_user_data(); 75 73 76 74 $variation_styles_data = array(
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)