SG Optimizer adds files to root wp-content suddenly

[ad_1]

As of the most recent update, SG Optimizer added two files to the path of WP_CONTENT_DIR, specifically sgo-config.php and advanced-cache.php. It never used to add files here and it’s my understanding that all plugin files should be within the plugin’s own directory (sg-cachepress in this case).

I have a non-standard setup with my wp-content folder somewhere else, and files in the root of the content directory has created some errors I have to create exceptionsfor now.

Without wishing to complain too much, it’s always been my understanding that plugin code should be within the plugin’s own directory? 🙂 That is to say I don’t think it’s best practice for SGO to be using WP_CONTENT_DIR as a dumping ground for plugin files.

Please could these two files be moved into the plugin’s directory itself and not the content directory?

Thank you.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer