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
This commit is contained in:
parent
81de03f277
commit
bd4c40b4c2
|
@ -26,7 +26,6 @@ function _register_core_block_patterns_and_categories() {
|
||||||
'query-grid-posts',
|
'query-grid-posts',
|
||||||
'query-large-title-posts',
|
'query-large-title-posts',
|
||||||
'query-offset-posts',
|
'query-offset-posts',
|
||||||
'social-links-shared-background-color',
|
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach ( $core_block_patterns as $core_block_pattern ) {
|
foreach ( $core_block_patterns as $core_block_pattern ) {
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
* Social links with a shared background color.
|
* Social links with a shared background color.
|
||||||
*
|
*
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
|
* @since 5.8.0
|
||||||
|
* @deprecated 6.7.0 This pattern is deprecated. Please use the Social Links block instead.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue