Skip to content

Commit

Permalink
Updating social link attributes (WordPress#51997)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd authored and sethrubenstein committed Jul 13, 2023
1 parent 15eb9a6 commit 791a228
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 791a228

Please sign in to comment.