Skip to content

Commit

Permalink
Revert "Updating social link attributes (#51997)" (#52019)
Browse files Browse the repository at this point in the history
This reverts commit c711e2a.
  • Loading branch information
ramonjd authored and tellthemachines committed Jul 3, 2023
1 parent 7dbdc17 commit 97e3acf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/social-link/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ function render_block_core_social_link( $attributes, $content, $block ) {
$icon = block_core_social_link_get_icon( $service );
$wrapper_attributes = get_block_wrapper_attributes(
array(
'class' => esc_attr( 'wp-social-link wp-social-link-' . $service . block_core_social_link_get_color_classes( $block->context ) ),
'style' => esc_attr( block_core_social_link_get_color_styles( $block->context ) ),
'class' => 'wp-social-link wp-social-link-' . $service . block_core_social_link_get_color_classes( $block->context ),
'style' => block_core_social_link_get_color_styles( $block->context ),
)
);

Expand Down

0 comments on commit 97e3acf

Please sign in to comment.