Remove unneeded quotes around vars. Props johnbillion. fixes #10245

git-svn-id: https://develop.svn.wordpress.org/trunk@12513 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-12-23 15:16:53 +00:00
parent 4aee2f753b
commit 6de4fcc190
12 changed files with 34 additions and 34 deletions
+4 -4
View File
@@ -239,13 +239,13 @@ function wp_reset_vars( $vars ) {
global $$var;
if (!isset( $$var ) ) {
if ( empty( $_POST["$var"] ) ) {
if ( empty( $_GET["$var"] ) )
if ( empty( $_POST[$var] ) ) {
if ( empty( $_GET[$var] ) )
$$var = '';
else
$$var = $_GET["$var"];
$$var = $_GET[$var];
} else {
$$var = $_POST["$var"];
$$var = $_POST[$var];
}
}
}