From cbae3debcd97479a6467d42673c6c17db029bd38 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sun, 25 Apr 2004 08:11:05 +0000 Subject: [PATCH] Casting new line as literal rather than interpreted. git-svn-id: https://develop.svn.wordpress.org/trunk@1167 602fd350-edb4-49c9-b593-d223f7449a82 --- 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'); }