diff options
Diffstat (limited to 'wp-includes/block-supports/elements.php')
-rw-r--r-- | wp-includes/block-supports/elements.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-includes/block-supports/elements.php b/wp-includes/block-supports/elements.php index 4f3de8c..e7fa76a 100644 --- a/wp-includes/block-supports/elements.php +++ b/wp-includes/block-supports/elements.php @@ -166,8 +166,8 @@ function wp_render_elements_support_styles( $pre_render, $block ) { 'skip' => $skip_button_color_serialization, ), 'link' => array( - 'selector' => ".$class_name a", - 'hover_selector' => ".$class_name a:hover", + 'selector' => ".$class_name a:where(:not(.wp-element-button))", + 'hover_selector' => ".$class_name a:where(:not(.wp-element-button)):hover", 'skip' => $skip_link_color_serialization, ), 'heading' => array( |