Skip to content

Commit dfcdeaf

Browse files
Editor: Add description for Banners block pattern category.
Follow-up to [55098]. Props parinpanjari, youknowriad, Joen, dhruvang21, apermo, mukesh27. Fixes #62115. git-svn-id: https://develop.svn.wordpress.org/trunk@59472 602fd350-edb4-49c9-b593-d223f7449a82
1 parent ce4627f commit dfcdeaf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/wp-includes/block-patterns.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@ function _register_core_block_patterns_and_categories() {
3535
}
3636
}
3737

38-
register_block_pattern_category( 'banner', array( 'label' => _x( 'Banners', 'Block pattern category' ) ) );
38+
register_block_pattern_category(
39+
'banner',
40+
array(
41+
'label' => _x( 'Banners', 'Block pattern category' ),
42+
'description' => __( 'Bold sections designed to showcase key content.' ),
43+
)
44+
);
3945
register_block_pattern_category(
4046
'buttons',
4147
array(

0 commit comments

Comments
 (0)