[wp-trac] [WordPress Trac] #37138: Audit usage of the buttons CSS classes

WordPress Trac noreply at wordpress.org
Thu Aug 11 08:07:53 UTC 2016


#37138: Audit usage of the buttons CSS classes
----------------------------+------------------------------
 Reporter:  afercia         |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  ui-feedback     |     Focuses:  ui
----------------------------+------------------------------

Comment (by afercia):

 Turns out I was partially wrong and worth clarifying that the `.button-
 secondary` class 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: #27314, #37448

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37138#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list