diff --git a/wp-includes/class-wp-theme-json.php b/wp-includes/class-wp-theme-json.php index 15357a9df3..cfca9a2242 100644 --- a/wp-includes/class-wp-theme-json.php +++ b/wp-includes/class-wp-theme-json.php @@ -3268,6 +3268,10 @@ class WP_Theme_JSON { array(), array( 'include_node_paths_only' => true ) ); + + // Add top-level styles. + $style_nodes[] = array( 'path' => array( 'styles' ) ); + foreach ( $style_nodes as $style_node ) { $path = $style_node['path']; /* diff --git a/wp-includes/version.php b/wp-includes/version.php index 7a6c08696f..82828eeb3c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59334'; +$wp_version = '6.8-alpha-59335'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.