From 47bb776fd70295d708b8eb68b79a3f0e42fb5041 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 29 Nov 2024 22:46:21 +0000 Subject: [PATCH] Editor: Add description for Banners block pattern category. Follow-up to [55098]. Props parinpanjari, youknowriad, Joen, dhruvang21, apermo, mukesh27. Fixes #62115. Built from https://develop.svn.wordpress.org/trunk@59472 git-svn-id: http://core.svn.wordpress.org/trunk@58858 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/block-patterns.php | 8 +++++++- wp-includes/version.php | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/wp-includes/block-patterns.php b/wp-includes/block-patterns.php index f1a24cdf72..4a2886cdfd 100644 --- a/wp-includes/block-patterns.php +++ b/wp-includes/block-patterns.php @@ -35,7 +35,13 @@ function _register_core_block_patterns_and_categories() { } } - register_block_pattern_category( 'banner', array( 'label' => _x( 'Banners', 'Block pattern category' ) ) ); + register_block_pattern_category( + 'banner', + array( + 'label' => _x( 'Banners', 'Block pattern category' ), + 'description' => __( 'Bold sections designed to showcase key content.' ), + ) + ); register_block_pattern_category( 'buttons', array( diff --git a/wp-includes/version.php b/wp-includes/version.php index 2112c06b61..3162555269 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59471'; +$wp_version = '6.8-alpha-59472'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.