[wp-trac] [WordPress Trac] #27314: Make sure button-primary has button class

WordPress Trac noreply at wordpress.org
Fri Mar 7 11:25:14 UTC 2014


#27314: Make sure button-primary has button class
--------------------------+-----------------------------
 Reporter:  avryl         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 This patch:

 1. Adds the `button` class to all primary buttons. This is necessary to
 make them responsive.
 2. Removes all `secondary-button`classes and replaces it with `button`
 when needed. `button-seconary`does the same as button, but it's not
 responsive. It shouldn't be used.
 3. Replaces classes inside `submit_button()` with a shorthand for some
 buttons, a shorthand is used most of the time.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27314>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list