Skip to content

Commit

Permalink
Update lib/class-wp-theme-json-resolver.php
Browse files Browse the repository at this point in the history
Co-authored-by: Pascal Birchler <[email protected]>
  • Loading branch information
jorgefilipecosta and swissspidy committed Dec 14, 2020
1 parent dac95f6 commit 31c461f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/class-wp-theme-json-resolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ private static function get_core_origin() {
*/
private function get_theme_origin( $theme_support_data = array() ) {
$theme_json_data = self::get_from_file( locate_template( 'experimental-theme.json' ) );
self::apply_theme_json_translations( $theme_json_data, wp_get_theme()->get_stylesheet() );
self::apply_theme_json_translations( $theme_json_data, wp_get_theme()->get( 'TextDomain' ) );

/*
* We want the presets and settings declared in theme.json
Expand Down

0 comments on commit 31c461f

Please sign in to comment.