Changeset 52764
- Timestamp:
- 02/17/2022 06:54:37 PM (3 years ago)
- Location:
- branches/5.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.9
-
branches/5.9/src/wp-includes/class-wp-theme-json.php
r52759 r52764 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.