Remove unnecessary quotes. Props technosailor. fixes #1990
git-svn-id: http://svn.automattic.com/wordpress/trunk@3241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e2bc225d0c
commit
e4a74710df
|
@ -33,7 +33,7 @@ case 'update':
|
||||||
|
|
||||||
if (!$_POST['page_options']) {
|
if (!$_POST['page_options']) {
|
||||||
foreach ($_POST as $key => $value) {
|
foreach ($_POST as $key => $value) {
|
||||||
$options[] = "'$key'";
|
$options[] = $key;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$options = explode(',', stripslashes($_POST['page_options']));
|
$options = explode(',', stripslashes($_POST['page_options']));
|
||||||
|
|
Loading…
Reference in New Issue