Skip to content

Commit

Permalink
re-add -patterns fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arunshenoy99 committed Sep 11, 2023
1 parent 1ec0f38 commit 3aa43d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/Patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ public static function get_theme_step_patterns_from_step( $step, $squash = false
}

$pattern_slugs = self::get_theme_step_patterns()[ $active_theme ][ $step ];
$block_patterns = $squash ? '' : array();

foreach ( array_keys( $pattern_slugs ) as $pattern_slug ) {
if ( true !== $pattern_slugs[ $pattern_slug ]['active'] ) {
Expand Down

0 comments on commit 3aa43d2

Please sign in to comment.