[wp-trac] [WordPress Trac] #53493: Errors in `ms-files.php` aren't logged

WordPress Trac noreply at wordpress.org
Tue Jul 6 20:21:06 UTC 2021


#53493: Errors in `ms-files.php` aren't logged
-------------------------------------------+------------------------
 Reporter:  iandunn                        |       Owner:  iandunn
     Type:  enhancement                    |      Status:  closed
 Priority:  low                            |   Milestone:  5.9
Component:  Upload                         |     Version:  3.0
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  early has-patch needs-testing  |     Focuses:  multisite
-------------------------------------------+------------------------
Changes (by iandunn):

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


Comment:

 In [changeset:"51358" 51358]:
 {{{
 #!CommitTicketReference repository="" revision="51358"
 Multisite: Log error/warnings/notices from `ms-files.php`.

 Previously errors were not displayed or logged, but the original intention
 was only to prevent them from being displayed. Hiding them from logs makes
 problems like #53492 much harder to debug.

 This makes the handling of errors in `ms-files` consistent with the REST
 API, `admin-ajax`, and XML-RPC.

 Props iandunn, johnjamesjacoby.
 Fixes #53493.
 }}}

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


More information about the wp-trac mailing list