WP Super Cache
Deleting WP Supercache in Plugin interface reveals wp-config.php in plainte (2 posts)

  1. cactusphone
    Posted 3 years ago #

    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.


  2. Donncha O Caoimh
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic