Skip to content

Commit

Permalink
pass scope
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed Jul 19, 2024
1 parent d544da8 commit 3ee41e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/class-wp-theme-json-resolver-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ private static function style_variation_has_scope( $variation, $scope ) {
* @return array
*/
public static function get_style_variations( $scope = 'theme' ) {
return static::get_style_variations_from_directory( get_stylesheet_directory() );
return static::get_style_variations_from_directory( get_stylesheet_directory(), $scope );
}

/**
Expand Down

0 comments on commit 3ee41e8

Please sign in to comment.