Plugin Not Supporting Alternate WP-Content Folders
-
On my website we opted to place the wp-content file in a non-traditional location. This was to help with security. WP fully supports this and most plugins look for that variable and know where the Wp-Content folder is if not installed in the default location.
We had to alter your code and add the following.
$this->ms_root = ‘/home/somesite/something.com’;
in addiiton to $this->root = $_SERVER[“DOCUMENT_ROOT”];In your next update can you modify the plugin to support alternate WP-content locations.
See this article.
https://codex.ww.wp.xz.cn/Determining_Plugin_and_Content_Directories
The topic ‘Plugin Not Supporting Alternate WP-Content Folders’ is closed to new replies.