[wp-trac] [WordPress Trac] #37448: Primary and secondary buttons need to reset the outline property
WordPress Trac
noreply at wordpress.org
Thu Aug 11 08:13:57 UTC 2016
#37448: Primary and secondary buttons need to reset the outline property
----------------------------------------+-----------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: needs-patch good-first-bug | Focuses: ui
----------------------------------------+-----------------------------
Comment (by afercia):
Turns out I was partially wrong, because the `.button-secondary` is there
just for backward compatibility reasons and should not be used. From `wp-
includes/css/buttons.css`:
{{{
WordPress-style Buttons
=======================
Create a button by adding the `.button` class to an element. For backward
compatibility, we support several other classes (such as `.button-
secondary`),
but these will *not* work with the stackable classes described below.
}}}
Related: #37138
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37448#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list