Skip to content

Commit

Permalink
Updating social link attributes (#51997)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd authored Jun 28, 2023
1 parent 2aa50e7 commit c711e2a
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' => '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 ),
'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 ) ),
)
);

Expand Down

0 comments on commit c711e2a

Please sign in to comment.