Closed afercia closed 7 years ago
I think this code was taken directly from WP_Comments_List_Table
? Easy enough to fix anyway.
Yep, a while ago core was still using button-secondary
in a few places, see https://core.trac.wordpress.org/ticket/37138
The
button-secondary
CSS class is deprecated and still in WP core just for backwards compatibility reasons.The buttons CSS classes are "stackable", that means the base class is
button
and then other classes can be added as modifiers.Worth noting, using only the
button-secondary
CSS class results in a wrong focus style applied to buttons and buttons are not responsive (they should become bigger in the responsive view).For reference, see the comment in the
wp-includes/css/buttons.css
file.