Changeset 52763 for trunk/src/wp-includes/class-wp-theme-json.php
- Timestamp:
- 02/17/2022 06:45:35 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r52757 r52763 1093 1093 1094 1094 $value = ''; 1095 if ( isset( $preset_metadata['value_key'] ) ) {1095 if ( isset( $preset_metadata['value_key'], $preset[ $preset_metadata['value_key'] ] ) ) { 1096 1096 $value_key = $preset_metadata['value_key']; 1097 1097 $value = $preset[ $value_key ]; … … 1838 1838 ) { 1839 1839 $value = null; 1840 if ( isset( $preset_metadata['value_key'] ) ) {1840 if ( isset( $preset_metadata['value_key'], $preset[ $preset_metadata['value_key'] ] ) ) { 1841 1841 $value = $preset[ $preset_metadata['value_key'] ]; 1842 1842 } elseif (
Note: See TracChangeset
for help on using the changeset viewer.