chrisguitarguy / WP-Plugin-Directories

Allows you to add additional plugin directories to WordPress.
MIT License
23 stars 8 forks source link

the plugin doesn't work, on multisite for "network plugin" activation #15

Open tharlab opened 4 years ago

tharlab commented 4 years ago

is this project dead? I use this plugin, https://github.com/franz-josef-kaiser/WP-Plugin-Directories, the plugin doesn't work, on my multisite installation, for "network plugin" activation, but works fine on subsite. problem: when I click "network activate" from the network plugin, this error message appears ... "Plugin file does not exist."

my default config:

register_plugin_directory( array(
        'dir'   => 'dev-plugin',
        'label' => 'dev_plugin',
        'root'  => 'plugins',
    ) );

any suggestions will be appreciated

franz-josef-kaiser commented 4 years ago

About support: Well, the plugin was built 8 years ago as an answer to a WordPress StackExchange question. We improved it 7 years ago by adding an example plugin and minor stuff. So no, there's no official support for it. To be honest, I would not know if I would even use it with the raise of PHP Composer and wecodemore/WP Starter. Yes, WP is highly backwards compatible, so I'd assume that it should still work, while I have not tested it in years.

About your actual question:

A last word: With the raise of Composer, which is a de facto standard these days, multisite installs imho only make sense if you want to build something like squarespace or wordpress.com. In any other case it's easier and faster to configure deployment via some continuous deployment service or our own cd server and push out websites and update them like this. Due to this fact multisite, even as core component, has a lot of annoying bugs and missing features that probably never will get resolved as the need is shrinking.

Best wishes!