WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21598, comment 32


Ignore:
Timestamp:
09/08/12 20:17:38 (20 months ago)
Author:
TobiasBg
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21598, comment 32

    initial v1  
    1 The new {{{get_submit_button()}}} does not seem to transform {{{$type='secondary'}}} to a CSS class {{{.button-secondary}}}. Is that on purpose? 
     1~~The new {{{get_submit_button()}}} does not seem to transform {{{$type='secondary'}}} to a CSS class {{{.button-secondary}}}. Is that on purpose?~~ 
     2 
     3I take that back. {{{secondary}}} is removed on purpose, as {{{.button}}} as a base class is sufficient. 
    24 
    35Also: What's the idea of adding all of those {{{.XYZ.focus}}} and {{{.XYZ.hover}}} selectors? I can see a use case for {{{.XYZ.active}}} in button groups (though that would also need extra CSS), but what the use case for {{{.focus}}}, {{{.hover}}} and {{{.active}}} here? Why are {{{:focus}}}/{{{:hover}}}/{{{:active}}} not enough?