From bd4c40b4c2e1514744dea92a64dd51c4a46fa067 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Fri, 13 Sep 2024 05:37:16 +0000 Subject: [PATCH] Editor: Deprecate "Social links with a shared background color" pattern. Removes the pattern from the inserter while retaining the related code to ensure the content renders for sites making use of the pattern. Props annezazu, talldanwp, richtabor, mikachan. Fixes #61708. Built from https://develop.svn.wordpress.org/trunk@59019 git-svn-id: http://core.svn.wordpress.org/trunk@58415 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/block-patterns.php | 1 - .../block-patterns/social-links-shared-background-color.php | 2 ++ wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-includes/block-patterns.php b/wp-includes/block-patterns.php index d672ffd900..851898d006 100644 --- a/wp-includes/block-patterns.php +++ b/wp-includes/block-patterns.php @@ -26,7 +26,6 @@ function _register_core_block_patterns_and_categories() { 'query-grid-posts', 'query-large-title-posts', 'query-offset-posts', - 'social-links-shared-background-color', ); foreach ( $core_block_patterns as $core_block_pattern ) { diff --git a/wp-includes/block-patterns/social-links-shared-background-color.php b/wp-includes/block-patterns/social-links-shared-background-color.php index 2ed16071b7..37aac3f4e4 100644 --- a/wp-includes/block-patterns/social-links-shared-background-color.php +++ b/wp-includes/block-patterns/social-links-shared-background-color.php @@ -3,6 +3,8 @@ * Social links with a shared background color. * * @package WordPress + * @since 5.8.0 + * @deprecated 6.7.0 This pattern is deprecated. Please use the Social Links block instead. */ return array( diff --git a/wp-includes/version.php b/wp-includes/version.php index 2c63922b96..6b2847b50b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-59018'; +$wp_version = '6.7-alpha-59019'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.