Changeset 51386 for branches/5.8/src/wp-includes/class-wp-theme-json.php
- Timestamp:
- 07/09/2021 01:05:05 AM (3 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
-
branches/5.8/src/wp-includes/class-wp-theme-json.php
r51364 r51386 1107 1107 foreach ( $to_replace as $property_path ) { 1108 1108 $path = array_merge( $metadata['path'], $property_path ); 1109 $node = _wp_array_get( $incoming_data, $path, array());1110 if ( ! empty( $node ) ) {1109 $node = _wp_array_get( $incoming_data, $path, null ); 1110 if ( isset( $node ) ) { 1111 1111 _wp_array_set( $this->theme_json, $path, $node ); 1112 1112 }
Note: See TracChangeset
for help on using the changeset viewer.