[wp-trac] [WordPress Trac] #41986: Use regular core button styling for page header buttons

WordPress Trac noreply at wordpress.org
Tue Sep 26 20:17:23 UTC 2017


#41986: Use regular core button styling for page header buttons
-----------------------------------------------+---------------------------
 Reporter:  melchoyce                          |       Owner:
     Type:  enhancement                        |      Status:  new
 Priority:  normal                             |   Milestone:  Awaiting
Component:  General                            |  Review
 Severity:  normal                             |     Version:
 Keywords:  ui-feedback 2nd-opinion has-patch  |  Resolution:
                                               |     Focuses:  ui,
                                               |  administration
-----------------------------------------------+---------------------------

Comment (by helen):

 Replying to [comment:6 danieltj]:

 > Many plugins are using the page-title-action class to place buttons
 there next to the h1 on the page, so we can't remove that without breaking
 the layout of plugins who are using it (''two of my plugins do, I've also
 seen many others'').

 If you could provide examples to test against so we don't have to go
 searching through the plugin directory (I'm aware that this is a thing
 that's done, but I can't name any specific examples), that would be very
 helpful.

 > Additionally, that button has always been for single core actions within
 the admin dashboard. On each page that has one it's almost always used to
 add something new so I disagree, it is the primary focus (not all the
 time, but most of the time).
 >
 > My opinion is that it should be left as is, or changed to use the
 primary button class to make it more blue so it stands out. Changing it to
 have the secondary class so it's fully grey will make the button just as
 much, if not less noticeable than it already is.

 Adding a new item often has its own menu item already and is not
 inherently the primary action on a screen where you are managing or
 browsing items (posts, themes, plugins, etc.). I also don't think the goal
 here is to make the link more noticeable but rather to make it not look
 like it's a button gone wrong. But, if there's actually a problem
 identified surrounding how to navigate to these various things vs. visual
 consistency, then testing sounds like a good thing to do :)

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


More information about the wp-trac mailing list