Changeset 58428
- Timestamp:
- 06/18/2024 06:00:51 AM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme-json-resolver.php
r58409 r58428 726 726 * theme.json partial files by the scope to which they 727 727 * can be applied e.g. theme vs block etc. 728 728 729 * 729 730 * @param string $scope The scope or type of style variation to retrieve e.g. theme, block etc. … … 752 753 ksort( $variation_files ); 753 754 foreach ( $variation_files as $path => $file ) { 754 $decoded_file = wp_json_file_decode( $path, array( 'associative' => true ));755 $decoded_file = ); 755 756 if ( is_array( $decoded_file ) && static::style_variation_has_scope( $decoded_file, $scope ) ) { 756 757 $translated = static::translate( $decoded_file, wp_get_theme()->get( 'TextDomain' ) );
Note: See TracChangeset
for help on using the changeset viewer.