[wp-trac] [WordPress Trac] #42896: ms-files.php doesn't apply filters/actions defined in must-use plugin

WordPress Trac noreply at wordpress.org
Wed Dec 20 06:52:26 UTC 2017


#42896: ms-files.php doesn't apply filters/actions defined in must-use plugin
----------------------------+----------------------
 Reporter:  cory.r.gilbert  |       Owner:
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Media           |     Version:  4.9.1
 Severity:  normal          |  Resolution:  wontfix
 Keywords:                  |     Focuses:
----------------------------+----------------------
Changes (by dd32):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 As `ms-files.php` has been deprecated for many many versions now,  and
 `ms-files.php` specifically uses `SHORTINIT` which is designed to run
 WordPress without plugins & most code loaded, I'm going to close this as
 `wontfix` for now. Unfortunately it's not as easy as loading `mu-plugins`,
 as they will often rely upon other WordPress functionality which is
 deliberately not included at that point in time.

 If you need to change this in your environment, you can use the Multisite
 Sunrise functionality (Add `define( 'SUNRISE', true );` to `wp-config.php`
 and add a `wp-content/sunrise.php` file, which is effectively a mu-
 plugin).

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


More information about the wp-trac mailing list