[wp-trac] [WordPress Trac] #22631: Allow change of dropins folder
WordPress Trac
noreply at wordpress.org
Thu Jan 30 10:25:40 UTC 2014
#22631: Allow change of dropins folder
----------------------------+------------------------------
Reporter: bungeshea | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: 3.5
Severity: minor | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Changes (by knutsp):
* severity: normal => minor
Comment:
Not safe, unless both `WP_CONTENT_DIR` and `WP_DROPINS_DIR` are checked
for dropin files across some major versions. `WP_DROPINS_DIR` must have
precedence (for the same dropin file). If a dropin is found in
`WP_CONTENT_DIR` then a deprecated warning should be issued, at least in
the major version following the version this is implemented. Two versions
or more later the backwards compatibility may be removed.
Occasionally, like when (just before) plugins activated, a cleanup routine
may check for dropin files that exist in both folders and delete the one
in `WP_CONTENT_DIR` (which is then unused).
When `WP_DROPINS_DIR` is undefined it should be set to `WP_CONTENT_DIR .
'/dropins'` at load time.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22631#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list