[wp-trac] [WordPress Trac] #28376: Improve error message seen by user in update.php

WordPress Trac noreply at wordpress.org
Wed Jul 15 17:52:30 UTC 2015


#28376: Improve error message seen by user in update.php
-----------------------------+---------------------------------
 Reporter:  podz             |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  3.9.1
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:  ui, administration
-----------------------------+---------------------------------
Changes (by afercia):

 * keywords:   => needs-patch
 * focuses:  administration => ui, administration


Comment:

 Maybe worth considering also to improve the visual part. To my
 understanding this error is displayed as Warning only if `WP_DEBUG` is set
 to true otherwise is a Notice and very unlikely you can see it. By the way
 you can't even read the message since it's partially covered by the admin
 menu. Is there any technical reason why `trigger_error` is used? Would it
 be possible to use a WP notice instead? Also, the file name and line
 number reported seem not necessary.

 In the screenshot below, in 3.7 it was at least possible to actually read
 the message. Now it's partially hidden by the admin menu and at the bottom
 how it would look as a notice.

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

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


More information about the wp-trac mailing list