wordpress-develop/tests/phpunit/tests/theme
Riad Benguella e42e65def6 Editor: Update the ThemeJson unit test to cover custom CSS feature.
In #59499 a fix have been shipped to theme.json custom CSS
when applied to blocks with multiple CSS selectors.
This commit covers that fix with a unit test.

Props wildworks.
Fixes #60294.

git-svn-id: https://develop.svn.wordpress.org/trunk@57333 602fd350-edb4-49c9-b593-d223f7449a82
2024-01-23 09:04:51 +00:00
..
autoloadThemeMods.php Themes: Avoid autoloading the previous theme's theme mods when switching to another theme. 2023-12-04 19:36:27 +00:00
base.php Editor: Ensure global styles are rendered for third-party blocks. 2022-10-27 15:39:20 +00:00
customHeader.php Coding Standards: Include one space after function keyword for closures. 2023-09-12 15:21:02 +00:00
getThemeStarterContent.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
support.php Themes: Correct the logic for displaying a _doing_it_wrong() notice for add_theme_support( 'html5' ). 2022-03-07 14:42:49 +00:00
themeDir.php Editor: Improve performance of _register_theme_block_patterns function. 2023-10-03 15:16:55 +00:00
wpAddGlobalStylesForBlocks.php Script Loader: Replace hardcoded output of style tags with calls to wp_add_inline_style. 2023-09-25 17:04:41 +00:00
wpEnqueueStoredStyles.php Tests: Add test class for wp_enqueue_stored_styles(). 2023-03-20 18:20:05 +00:00
wpGetBlockCssSelector.php Coding Standards: Remove superfluous blank lines at the end of various files. 2023-09-07 14:57:30 +00:00
wpGetGlobalStylesheet.php Editor: output palette presets when appearance tools or border are enabled. 2024-01-09 23:30:10 +00:00
wpTheme.php Themes: Account for a numeric theme directory in WP_Theme::__construct(). 2023-02-27 15:32:22 +00:00
wpThemeGetAllowedFilters.php Docs: Fix incorrect property doc in WP_Theme::get_allowed() tests. 2023-11-12 09:19:20 +00:00
wpThemeGetBlockPatterns.php Themes: Make caches for block patterns clearable. 2023-10-20 19:06:46 +00:00
wpThemeHasThemeJson.php Themes: Introduce wp_theme_has_theme_json() for public consumption. 2023-01-18 11:38:16 +00:00
wpThemeJson.php Editor: Update the ThemeJson unit test to cover custom CSS feature. 2024-01-23 09:04:51 +00:00
wpThemeJsonResolver.php Editor: Allow default duotone styles if not explicitly disabled in theme.json. 2024-01-10 00:25:19 +00:00
wpThemeJsonSchema.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2022-11-29 12:32:37 +00:00