Skip to content

Commit

Permalink
PHP lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Apr 4, 2024
1 parent e8bacda commit a854d18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/compat/wordpress-6.6/resolve-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ function gutenberg_replace_pattern_blocks( $blocks, &$inner_content = null ) {
continue;
}

$registry = WP_Block_Patterns_Registry::get_instance();
$pattern = $registry->get_registered( $slug );
$registry = WP_Block_Patterns_Registry::get_instance();
$pattern = $registry->get_registered( $slug );

// Skip unknown patterns.
if ( ! $pattern ) {
Expand Down

0 comments on commit a854d18

Please sign in to comment.