[wp-trac] [WordPress Trac] #19721: WordPress should support multiple or nested plugin directories

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 3 16:33:35 UTC 2012


#19721: WordPress should support multiple or nested plugin directories
-----------------------------+-----------------------------
 Reporter:  scottnath        |      Owner:  scottnath
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Plugins          |    Version:  3.3
 Severity:  normal           |   Keywords:  needs-patch
-----------------------------+-----------------------------
 WordPress currently only looks one directory deep for the plugin files.
 This is a limitation in get_plugins. It should look at least two (or
 more).

 Our setup: We have many sites on WordPress and would like to share a set
 of plugins across them. However, we also have a requirement where each
 site should have its own unique set of plugins as well. (I realize this
 seems like an easy job for Multisite or mu=plugins, but they're not
 something we can adopt currently for various reasons).

 Ideally, we can create a symlink (or external/submodule) to our shared
 plugins folder from inside the core plugins folder and have WordPress
 recognize plugins within that folder:

 * plugins Folder
         * hello-dolly.php
         * akismet
                 * akismet.php
         * shared-plugins (symlink)

 * shared-plugins folder
         * hello-dolly-enhanced
                 * hello-dolly-enhanced.php
         * akismet-enhanced
                 * akismet-enhanced.php

 Currently, WordPress will ignore both hello-dolly-enhanced and akismet-
 enhanced.

 Themes already support nested folder; plugins should too please!

 Thanks,
 Scott Nath

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19721>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list