WordPress.org

Support

Support » Plugins and Hacks » WP Super Cache » [Plugin: WP Super Cache] Deleting WP Supercache in Plugin interface reveals wp-config.php in plainte

[Plugin: WP Super Cache] Deleting WP Supercache in Plugin interface reveals wp-config.php in plainte

  • I can’t say for sure that WP-Super-cache caused this problem, as I was deleting a group of plugins on the Plugin page, but it is the only one that had settings within the wp-config.php file which led me to believe it may have been a part of the issue.

    After marking several plugins for deletion, some files in the wp-admin directory were corrupted which resulted in a php error on the next screen. Additionally, the initial <?php line of the wp-config.php file was curiously removed, which caused it to be now dumped as plain text on every page that loaded along with the php error above. I am no expert of the plugin delete system, but whether the WordPress plugin system or the delete functionality in the super cache plugin caused this, it seems like a major flaw as it would reveal the database credentials to any visitor on servers where php error reporting is enabled.

    http://wordpress.org/extend/plugins/wp-super-cache/

Viewing 1 replies (of 1 total)
  • Plugin Author Donncha O Caoimh

    @donncha

    Ouch. Sometimes other caching plugins put the define() they need on the same line as the <?php which has caused problems in the past. Unfortunately it’s really difficult to spot and thankfully doesn’t happen very often.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP Super Cache] Deleting WP Supercache in Plugin interface reveals wp-config.php in plainte’ is closed to new replies.
Skip to toolbar