Skip to content

Commit

Permalink
Rename to "Banners"
Browse files Browse the repository at this point in the history
  • Loading branch information
mcsf committed Sep 16, 2022
1 parent 8ea8fa7 commit 8b4c879
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/compat/wordpress-6.1/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ function gutenberg_register_core_block_patterns() {
register_block_pattern_category( 'footer', array( 'label' => __( 'Footers', 'gutenberg' ) ) );
}

if ( ! $pattern_category_registry->is_registered( 'heading' ) ) {
register_block_pattern_category( 'heading', array( 'label' => __( 'Headings & Titles', 'gutenberg' ) ) );
if ( ! $pattern_category_registry->is_registered( 'banner' ) ) {
register_block_pattern_category( 'banner', array( 'label' => __( 'Banners', 'gutenberg' ) ) );
}

if ( $should_register_core_patterns ) {
Expand Down

0 comments on commit 8b4c879

Please sign in to comment.