Changeset 57716 for trunk/src/wp-includes/class-wp-theme-json.php
- Timestamp:
- 02/27/2024 10:13:13 AM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r57547 r57716 3858 3858 * 3859 3859 * @since 6.3.0 3860 * @since 6.5.0 Check for empty style before processing its value. 3861 * 3860 3862 * @param array $styles CSS declarations to convert. 3861 3863 * @param array $values key => value pairs to use for replacement. … … 3864 3866 private static function convert_variables_to_value( $styles, $values ) { 3865 3867 foreach ( $styles as $key => $style ) { 3868 if ( empty( $style ) ) { 3869 continue; 3870 } 3871 3866 3872 if ( is_array( $style ) ) { 3867 3873 $styles[ $key ] = self::convert_variables_to_value( $style, $values );
Note: See TracChangeset
for help on using the changeset viewer.