From 8db6a6e26af36004bd03ec7d9dd01e4427e6f0ad Mon Sep 17 00:00:00 2001 From: Miguel Fonseca Date: Thu, 25 Aug 2022 15:40:58 +0000 Subject: [PATCH] Block Patterns: Add new Footers category MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Quoting poena from the ticket: "[...] To make it easier for users to find these patterns, a new block pattern category should be added. The patterns have already been built to include the new category, with the slug "footer" [to] match the existing Headers category" Props poena. Fixes #56416. git-svn-id: https://develop.svn.wordpress.org/trunk@53943 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/block-patterns.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/block-patterns.php b/src/wp-includes/block-patterns.php index 5c3f7518b8..91d239db52 100644 --- a/src/wp-includes/block-patterns.php +++ b/src/wp-includes/block-patterns.php @@ -39,6 +39,7 @@ function _register_core_block_patterns_and_categories() { register_block_pattern_category( 'buttons', array( 'label' => _x( 'Buttons', 'Block pattern category' ) ) ); register_block_pattern_category( 'columns', array( 'label' => _x( 'Columns', 'Block pattern category' ) ) ); register_block_pattern_category( 'featured', array( 'label' => _x( 'Featured', 'Block pattern category' ) ) ); + register_block_pattern_category( 'footer', array( 'label' => _x( 'Footers', 'Block pattern category' ) ) ); register_block_pattern_category( 'gallery', array( 'label' => _x( 'Gallery', 'Block pattern category' ) ) ); register_block_pattern_category( 'header', array( 'label' => _x( 'Headers', 'Block pattern category' ) ) ); register_block_pattern_category( 'text', array( 'label' => _x( 'Text', 'Block pattern category' ) ) );