#21406 closed defect (bug) (fixed)

Use primary button styling

Reported by: jane Owned by: ryan
Priority: normal Milestone: 3.5
Component: UI Version: 3.4.1
Severity: trivial Keywords: easy-fix has-patch commit
Cc:

Description (last modified by SergeyBiryukov)

The add/submit button on:

  • edit-tags.php?taxonomy=post_tag
  • edit-tags.php?taxonomy=category
  • edit-tags.php?taxonomy=link_category

is using secondary button style but should be using primary (blue) since hitting enter/return does activate that button and it's the primary action on that page.

Ditto for custom taxonomy screens.

Attachments (3)

21406.patch (539 bytes) - added by JustinSainton 10 months ago.
Easy patch
21406.1.diff (532 bytes) - added by JustinSainton 10 months ago.
21406.2.diff (521 bytes) - added by JustinSainton 10 months ago.

Download all attachments as: .zip

Change History (11)

  • Description modified (diff)
  • Keywords easy-fix added

Easy patch

  • Keywords has-patch added; needs-patch removed

Just caught that myself :)

Actually, could even be removed, since that's the default value.

  • Keywords wipe-that-smug-look-off-your-face-easy-fix added
  • Keywords commit added; wipe-that-smug-look-off-your-face-easy-fix removed
  • Owner set to ryan
  • Resolution set to fixed
  • Status changed from new to closed

In [21365]:

Give Add New button on edit taxonomy pages primary button styling. Props JustinSainton. fixes #21406

Note: See TracTickets for help on using tickets.