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
|
@ -30,10 +30,10 @@ case 'update':
|
||||||
$any_changed = 0;
|
$any_changed = 0;
|
||||||
|
|
||||||
check_admin_referer();
|
check_admin_referer();
|
||||||
|
|
||||||
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