Changeset 54363
- Timestamp:
- 09/30/2022 02:46:25 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r54362 r54363 2842 2842 $flattened_preset = array(); 2843 2843 foreach ( $items as $slug => $value ) { 2844 $flattened_preset[] = array_merge( array( 'slug' => $slug ), $value );2844 $flattened_preset[] = array_merge( array( 'slug' => (string) $slug ), $value ); 2845 2845 } 2846 2846 _wp_array_set( $output, $path, $flattened_preset );
Note: See TracChangeset
for help on using the changeset viewer.