Casting new line as literal rather than interpreted.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-04-25 08:11:05 +00:00
parent 726b92ffe3
commit 73b23e1568

View File

@ -8,7 +8,7 @@ if ($_GET['action']) {
$current = preg_replace("|(\n)+\s*|", "\n", $current);
$current = trim($current) . "\n " . trim($_GET['plugin']);
$current = trim($current);
$current = preg_replace('|\n\s*|', '\n', $current); // I don't know where this is coming from
$current = preg_replace("|\n\s*|", "\n", $current); // I don't know where this is coming from
update_option('active_plugins', $current);
header('Location: plugins.php?activate=true');
}