[wp-trac] [WordPress Trac] #22631: Allow change of dropins folder
WordPress Trac
noreply at wordpress.org
Sat May 3 02:56:38 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:
----------------------------+------------------------------
Comment (by bungeshea):
It looks like implementing the changes suggested by @knutsp would require
the introduction of at least two new functions:
`load_dropin()`, which would take a dropin name (or filename) as a
parameter and look for the file in the WP_DROPINS_DIR followed by the
WP_CONTENT_DIR, and then load it if found. A deprecated notice would be
issued if the dropin is loaded from WP_CONTENT_DIR.
`cleanup_dropins()`, which would be hooked to the appropriate actions such
as `activate_plugin` and clean up unused dropins.
In which file would it be appropriate to introduce these functions?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22631#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list