mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-27 14:53:08 +02:00
Editor: Cast theme.json
values to string
on theme export.
Props glendaviesnz. See #56684. Built from https://develop.svn.wordpress.org/trunk@54363 git-svn-id: http://core.svn.wordpress.org/trunk@53922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
35fb05f30d
commit
9b493706ef
@ -2841,7 +2841,7 @@ class WP_Theme_JSON {
|
||||
}
|
||||
$flattened_preset = array();
|
||||
foreach ( $items as $slug => $value ) {
|
||||
$flattened_preset[] = array_merge( array( 'slug' => $slug ), $value );
|
||||
$flattened_preset[] = array_merge( array( 'slug' => (string) $slug ), $value );
|
||||
}
|
||||
_wp_array_set( $output, $path, $flattened_preset );
|
||||
}
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.1-beta2-54362';
|
||||
$wp_version = '6.1-beta2-54363';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user