Changeset 59335
- Timestamp:
- 11/01/2024 05:24:53 AM (6 weeks ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json.php
r59328 r59335 3269 3269 array( 'include_node_paths_only' => true ) 3270 3270 ); 3271 3272 // Add top-level styles. 3273 $style_nodes[] = array( 'path' => array( 'styles' ) ); 3274 3271 3275 foreach ( $style_nodes as $style_node ) { 3272 3276 $path = $style_node['path']; -
trunk/tests/phpunit/tests/theme/wpThemeJson.php
r59213 r59335 2345 2345 'background' => array( 2346 2346 'backgroundImage' => array( 2347 'url' => 'http://example.org/quote.png', 2347 'id' => 'uploaded', 2348 'source' => 'file', 2349 'url' => 'http://example.org/quote.png', 2348 2350 ), 2349 2351 'backgroundSize' => 'cover', … … 2377 2379 'styles' => array( 2378 2380 'background' => array( 2379 'backgroundSize' => 'contain', 2381 'backgroundImage' => array( 2382 'url' => 'http://example.org/site.png', 2383 ), 2384 'backgroundSize' => 'contain', 2380 2385 ), 2381 2386 'blocks' => array( … … 2407 2412 'background' => array( 2408 2413 'backgroundImage' => array( 2409 'url' => 'http://example.org/ quote.png',2414 'url' => 'http://example.org/site.png', 2410 2415 ), 2411 2416 'backgroundSize' => 'contain',
Note: See TracChangeset
for help on using the changeset viewer.