Plugin stripping newlines from wp-config.php
-
Hi, I noticed that whenever the plugin is de/activated, it writes
define( 'WP_CACHE', true/false );to the top ofwp-config.php, which is fine, however it also modifies the entire file by stripping all consecutive newlines, even inside of comments. So my nicely formatted file was completely mangled. Could you please fix this?Also it would be preferable if it could insert the constant right above
/* That's all, stop editing! Happy blogging. */instead of at the very top of the file. That’s where other plugins inject theirs.Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Plugin stripping newlines from wp-config.php’ is closed to new replies.