[wp-trac] [WordPress Trac] #37430: Add Plugins: Improve the error messages displaying

WordPress Trac noreply at wordpress.org
Mon Jul 25 07:14:46 UTC 2016


#37430: Add Plugins: Improve the error messages displaying
----------------------------------------+-----------------------------
 Reporter:  afercia                     |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Plugins                     |     Version:  4.0
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  ui
----------------------------------------+-----------------------------

Comment (by tinkerbelly):

 I tried my hand at a patch, attached above.  here:
 https://core.trac.wordpress.org/attachment/ticket/37430/patch.diff

 It looks as though this error had been using the "no-plugins-results" CSS
 class, which then styled it the same way as that error message.

 [[Image(https://core.trac.wordpress.org/attachment/ticket/37430/Screen%20Shot%202016-07-24%20at%2015.23.46.png)]]

 Using a standard error class seems more sensible in this case. Here's what
 the error message looks like with the patch applied:

 [[Image(https://core.trac.wordpress.org/attachment/ticket/37430/Screen%20Shot%202016-07-24%20at%2015.55.04.png)]]

 I'm not certain the "try again" link is required here—it's not used on the
 same error on the themes page, and it would make sense to keep it
 consistent. It just refreshes the page; not sure how useful users find it.

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


More information about the wp-trac mailing list