[wp-trac] [WordPress Trac] #22631: Allow change of dropins folder

WordPress Trac noreply at wordpress.org
Tue Jan 3 09:27:02 UTC 2017


#22631: Allow change of dropins folder
----------------------------+-------------------------
 Reporter:  bungeshea       |       Owner:
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Bootstrap/Load  |     Version:  3.5
 Severity:  minor           |  Resolution:  maybelater
 Keywords:  dev-feedback    |     Focuses:
----------------------------+-------------------------
Changes (by dd32):

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


Comment:

 I'm quite okay with dropins living in `WP_CONTENT_DIR` for now.

 I can see reasons for allowing it to be loaded from elsewhere (for
 example, being able to define a host-wide dropins folder), however
 utilising the early filters in WordPress + a `pre_append_file` and early
 inclusion of filters seems like a far more robust mechanism for that.
 I suspect that we'd probably change to a different mechanism of
 detecting/enabling dropins before we added a custom directory for them.

 I'm marking this as `maybelater` for now, discussion can continue, and a
 committer can re-open it in the future if we see the need to go in this
 direction.

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


More information about the wp-trac mailing list