From 668a2ec9ffbbdbda006c257b7a21ea12273b6082 Mon Sep 17 00:00:00 2001 From: mcsf Date: Thu, 25 Aug 2022 15:42:10 +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. Built from https://develop.svn.wordpress.org/trunk@53943 git-svn-id: http://core.svn.wordpress.org/trunk@53502 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/block-patterns.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/block-patterns.php b/wp-includes/block-patterns.php index 5c3f7518b8..91d239db52 100644 --- a/wp-includes/block-patterns.php +++ b/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' ) ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 7472e349cf..8475fdb72b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53942'; +$wp_version = '6.1-alpha-53943'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.