Skip to content

Commit

Permalink
Editor: Deprecate "Social links with a shared background color" pattern.
Browse files Browse the repository at this point in the history
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.


git-svn-id: https://develop.svn.wordpress.org/trunk@59019 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
peterwilsoncc committed Sep 13, 2024
1 parent 1730f77 commit a78540b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/wp-includes/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit a78540b

Please sign in to comment.