How to Fix the Democracy Plugin n Problem
Posted by Ken Cheung on Thursday, February 12, 2009 in How-to : : 3 commentsI noticed during a recent WordPress upgrade, the Democracy Plugin started adding an extra "n" each time you saved the post:
Here's how to fix the problem:
(1) With a text editor, open "democracy.php" – it's located in the democracy subfolder in the plugin folder.
(2) Locate the line below (around line number 331):
return preg_replace('/{democracy[\w\W\s^}]*?}/', '\n<div>\\0</div>', $content);
(3) Change [...]