[wp-trac] [WordPress Trac] #56906: Media Library Grid mode no media items shown if debug true

WordPress Trac noreply at wordpress.org
Thu Feb 16 20:49:29 UTC 2023


#56906: Media Library Grid mode no media items shown if debug true
--------------------------+------------------------
 Reporter:  ipajen        |       Owner:  joedolson
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.2
Component:  Media         |     Version:  6.0.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  php81         |     Focuses:
--------------------------+------------------------
Changes (by johnbillion):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 The underlying issue was fixed in [53490]. The issue of showing or hiding
 PHP errors during ajax requests is a wider discussion, and one I'm pretty
 sure we've had before. Hiding a PHP error is nearly always a bad idea as
 it makes debugging a nightmare. Production websites shouldn't be
 displaying errors anyway.

 I'll close this as fixed. If I find a previous discussion about displaying
 errors in ajax requests I'll link it here.

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


More information about the wp-trac mailing list