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

WordPress Trac noreply at wordpress.org
Sat Feb 18 23:21:48 UTC 2017


#37430: Add Plugins: Improve the error messages displaying
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Plugins                              |  Release
 Severity:  normal                               |     Version:  4.0
 Keywords:  good-first-bug 2nd-opinion has-      |  Resolution:
  patch                                          |     Focuses:  ui
-------------------------------------------------+-------------------------
Changes (by swissspidy):

 * keywords:  good-first-bug 2nd-opinion needs-patch => good-first-bug 2nd-
     opinion has-patch


Comment:

 @m1tk00 Finally got around to review your patch as requested. Sorry for
 the delay!

 Instead of moving around `<hr class="wp-header-end">`, `<div class="inline
 error">` can be used so the notice doesn't get relocated underneath the
 page title. I fixed this in [attachment:37430.diff] and made a few
 optimizations here and there to further unify the error message.

 ----

 Plugin error message:

 [[Image(https://cldup.com/MetCCm-Da1.png)]]

 Theme error message:

 [[Image(https://cldup.com/yiYyebmOlC.png)]]

 No plugin found:

 [[Image(https://cldup.com/Ze4QLM8j6q.png)]]

 No theme found:

 [[Image(https://cldup.com/4meq64u6Bn.png)]]

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


More information about the wp-trac mailing list