Remove unnecessary quotes. Props technosailor. fixes #1990
git-svn-id: https://develop.svn.wordpress.org/trunk@3241 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
545644ebc8
commit
95c090d08d
@ -30,10 +30,10 @@ case 'update':
|
||||
$any_changed = 0;
|
||||
|
||||
check_admin_referer();
|
||||
|
||||
|
||||
if (!$_POST['page_options']) {
|
||||
foreach ($_POST as $key => $value) {
|
||||
$options[] = "'$key'";
|
||||
$options[] = $key;
|
||||
}
|
||||
} else {
|
||||
$options = explode(',', stripslashes($_POST['page_options']));
|
||||
|
Loading…
Reference in New Issue
Block a user