Changeset 51168 for trunk/src/wp-includes/class-wp-theme-json.php
- Timestamp:
- 06/16/2021 09:41:44 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r51152 r51168 1099 1099 $this->theme_json = array_replace_recursive( $this->theme_json, $incoming_data ); 1100 1100 1101 // The array_replace_recursive algorithm merges at the leaf level. 1102 // For leaf values that are arrays it will use the numeric indexes for replacement. 1103 // In those cases, we want to replace the existing with the incoming value, if it exists. 1101 /* 1102 * The array_replace_recursive() algorithm merges at the leaf level. 1103 * For leaf values that are arrays it will use the numeric indexes for replacement. 1104 * In those cases, we want to replace the existing with the incoming value, if it exists. 1105 */ 1104 1106 $to_replace = array(); 1105 1107 $to_replace[] = array( 'custom' );
Note: See TracChangeset
for help on using the changeset viewer.