Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#21406 closed defect (bug) (fixed)

Use primary button styling

Reported by: jane Owned by: ryan
Milestone: 3.5 Priority: normal
Severity: trivial Version: 3.4.1
Component: UI Keywords: easy-fix has-patch commit
Focuses: 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 8 years ago.
Easy patch
21406.1.diff (532 bytes) - added by JustinSainton 8 years ago.
21406.2.diff (521 bytes) - added by JustinSainton 8 years ago.

Download all attachments as: .zip

Change History (11)

#1 @SergeyBiryukov
8 years ago

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

8 years ago

Easy patch

#2 @JustinSainton
8 years ago

  • Keywords has-patch added; needs-patch removed

#4 @JustinSainton
8 years ago

Just caught that myself :)

#5 @SergeyBiryukov
8 years ago

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

#6 @JustinSainton
8 years ago

  • Keywords wipe-that-smug-look-off-your-face-easy-fix added

#7 @SergeyBiryukov
8 years ago

  • Keywords commit added; wipe-that-smug-look-off-your-face-easy-fix removed

#8 @ryan
8 years ago

  • 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.