thomaspark / snowball

A WordPress plugin for making immersive longform articles
https://snowball.openhtml.org/
GNU General Public License v2.0
90 stars 24 forks source link

Location of custom modules #180

Closed thomaspark closed 8 years ago

thomaspark commented 8 years ago

From WP.org:

It looks like you've set up your plugin to allow for custom modules:

$customModules = array_filter(glob(dirname($path) . '/snowball-custom-modules/*'), 'is_dir');

We cannot accept a plugin that forces (or tells) users to edit the plugin files in order to function, or saves data in the plugin folder.

Plugin folders are deleted when upgraded, so using them to store any data is problematic.

Please change your plugin to save those files outside of the plugins folder (in wp-content/pluginname perhaps or wp-content/uploads/pluginname - which would make it work well with multisite, making sure you read http://codex.wordpress.org/Determining_Plugin_and_Content_Directories to understand where the folders are and how best to call them), or if possible, save data to the wp_options tables.