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

WordPress Trac noreply at wordpress.org
Thu Jan 13 21:59:20 UTC 2022

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

Comment (by iandunn):

 Ah, I see, thanks! 👍🏻

 The only thing that still doesn't make sense to me is this:

 > The errors appear as soon as the MULTISITE define is found in the wp-
 config.php, which triggers loading the ms-files.php.

 The only entrypoint I see to `ms-files.php` is by calling it directly w/
 the `/files/` rewrite endpoint.

 But it sounds like you're saying it's `include`'ed by `wp-load.php` / `ms-
 load.php`? I'm sure you're right, I'm just curious about what I'm missing.

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

More information about the wp-trac mailing list