Casting new line as literal rather than interpreted.

git-svn-id: https://develop.svn.wordpress.org/trunk@1167 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-04-25 08:11:05 +00:00
parent 46e23e15ad
commit cbae3debcd
1 changed files with 1 additions and 1 deletions

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');
}