From 73b23e15688add5717ad010d08eb0e5f9ed92f57 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sun, 25 Apr 2004 08:11:05 +0000 Subject: [PATCH] Casting new line as literal rather than interpreted. git-svn-id: http://svn.automattic.com/wordpress/trunk@1167 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/plugins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index 6f81403117..1b261547fd 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -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'); }