Skip to content

Commit

Permalink
Global Styles: Button Element: update button element selector
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed May 23, 2022
1 parent 20f6ca5 commit d668718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compat/wordpress-6.1/class-wp-theme-json-6-1.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class WP_Theme_JSON_6_1 extends WP_Theme_JSON_6_0 {
'h4' => 'h4',
'h5' => 'h5',
'h6' => 'h6',
'button' => '.wp-element-button, .wp-block-button, button', // We have the .wp-block-button class so that this will target older buttons that have been serialized.
'button' => '.wp-element-button, .wp-block-button__link', // We have the .wp-block-button__link class so that this will target older buttons that have been serialized.
);
/**
* Returns the metadata for each block.
Expand Down

0 comments on commit d668718

Please sign in to comment.