Changeset 55192 for trunk/src/wp-includes/block-editor.php
- Timestamp:
- 02/02/2023 06:50:54 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-editor.php
r55181 r55192 411 411 $global_styles[] = $block_classes; 412 412 } 413 414 /* 415 * Add the custom CSS as a separate stylesheet so any invalid CSS 416 * entered by users does not break other global styles. 417 */ 418 $editor_settings['styles'][] = array( 419 'css' => wp_get_global_styles_custom_css(), 420 '__unstableType' => 'user', 421 'isGlobalStyles' => true, 422 ); 413 423 } else { 414 424 // If there is no `theme.json` file, ensure base layout styles are still available.
Note: See TracChangeset
for help on using the changeset viewer.