Skip to content

Commit

Permalink
Use the gutenberg class instead of the core class
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Mar 20, 2023
1 parent 523a831 commit fcb0525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compat/wordpress-6.2/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ function gutenberg_register_remote_theme_patterns() {
return;
}

$pattern_settings = WP_Theme_JSON_Resolver::get_theme_data()->get_patterns();
$pattern_settings = WP_Theme_JSON_Resolver_Gutenberg::get_theme_data()->get_patterns();
if ( empty( $pattern_settings ) ) {
return;
}
Expand Down

0 comments on commit fcb0525

Please sign in to comment.