mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
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:
parent
726b92ffe3
commit
73b23e1568
@ -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');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user