[wp-trac] [WordPress Trac] #28418: register_plugin_directory needed
WordPress Trac
noreply at wordpress.org
Sat May 31 10:42:33 UTC 2014
#28418: register_plugin_directory needed
-----------------------------+-----------------------------
Reporter: miljushm | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 3.9.1
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
Hi guys,
we have awesome function register_theme_directory which makes registering
additional theme directories very flexible and I think having the same
(register_plugin_directory) for plugins is something we need so bad.
I am aware of activate_plugin function but it's not flexible at all, at
least not near register_theme_directory since only plugins located in the
/plugins/ directory or /plugins/my-example-plugin/ can pass the validation
(validate_plugin and get_plugins), otherwise it returns that plugin
doesn't have good headers which is another confusion.
Cheers!
Marko
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28418>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list