Renaming Reloaded.

git-svn-id: https://develop.svn.wordpress.org/trunk@628 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2003-12-18 09:36:13 +00:00
parent 696bf353dc
commit ccc413011a
42 changed files with 259 additions and 430 deletions

View File

@@ -19,18 +19,18 @@ if (!get_magic_quotes_gpc()) {
$HTTP_COOKIE_VARS = add_magic_quotes($HTTP_COOKIE_VARS);
}
$b2varstoreset = array('action','standalone', 'option_group_id');
for ($i=0; $i<count($b2varstoreset); $i += 1) {
$b2var = $b2varstoreset[$i];
if (!isset($$b2var)) {
if (empty($HTTP_POST_VARS["$b2var"])) {
if (empty($HTTP_GET_VARS["$b2var"])) {
$$b2var = '';
$wpvarstoreset = array('action','standalone', 'option_group_id');
for ($i=0; $i<count($wpvarstoreset); $i += 1) {
$wpvar = $wpvarstoreset[$i];
if (!isset($$wpvar)) {
if (empty($HTTP_POST_VARS["$wpvar"])) {
if (empty($HTTP_GET_VARS["$wpvar"])) {
$$wpvar = '';
} else {
$$b2var = $HTTP_GET_VARS["$b2var"];
$$wpvar = $HTTP_GET_VARS["$wpvar"];
}
} else {
$$b2var = $HTTP_POST_VARS["$b2var"];
$$wpvar = $HTTP_POST_VARS["$wpvar"];
}
}
}