Changeset 51383 for trunk/src/wp-includes/class-wp-theme-json.php
- Timestamp:
- 07/08/2021 07:30:18 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r51352 r51383 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.