mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
bd4c40b4c2
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
21 lines
951 B
PHP
21 lines
951 B
PHP
<?php
|
|
/**
|
|
* 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(
|
|
'title' => _x( 'Social links with a shared background color', 'Block pattern title' ),
|
|
'categories' => array( 'buttons' ),
|
|
'blockTypes' => array( 'core/social-links' ),
|
|
'viewportWidth' => 500,
|
|
'content' => '<!-- wp:social-links {"customIconColor":"#ffffff","iconColorValue":"#ffffff","customIconBackgroundColor":"#3962e3","iconBackgroundColorValue":"#3962e3","className":"has-icon-color"} -->
|
|
<ul class="wp-block-social-links has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"https://wordpress.org","service":"wordpress"} /-->
|
|
<!-- wp:social-link {"url":"#","service":"chain"} /-->
|
|
<!-- wp:social-link {"url":"#","service":"mail"} /--></ul>
|
|
<!-- /wp:social-links -->',
|
|
);
|