Changeset 59442
- Timestamp:
- 11/20/2024 09:27:18 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/style-engine/class-wp-style-engine.php
r59199 r59442 455 455 } 456 456 457 $parsed_styles['classnames'] = array_merge( $parsed_styles['classnames'], static::get_classnames( $style_value, $style_definition ) ); 458 $parsed_styles['declarations'] = array_merge( $parsed_styles['declarations'], static::get_css_declarations( $style_value, $style_definition, $options ) ); 457 $classnames = static::get_classnames( $style_value, $style_definition ); 458 if ( ! empty( $classnames ) ) { 459 $parsed_styles['classnames'] = array_merge( $parsed_styles['classnames'], $classnames ); 460 } 461 462 $css_declarations = static::get_css_declarations( $style_value, $style_definition, $options ); 463 if ( ! empty( $css_declarations ) ) { 464 $parsed_styles['declarations'] = array_merge( $parsed_styles['declarations'], $css_declarations ); 465 } 459 466 } 460 467 }
Note: See TracChangeset
for help on using the changeset viewer.