Changeset 1108 for trunk/wp-admin/options-general.php
- Timestamp:
- 04/20/2004 10:56:47 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-general.php
r1074 r1108 14 14 15 15 if (!get_magic_quotes_gpc()) { 16 $ HTTP_GET_VARS = add_magic_quotes($HTTP_GET_VARS);17 $ HTTP_POST_VARS = add_magic_quotes($HTTP_POST_VARS);18 $ HTTP_COOKIE_VARS = add_magic_quotes($HTTP_COOKIE_VARS);16 $_GET = add_magic_quotes($_GET); 17 $_POST = add_magic_quotes($_POST); 18 $_COOKIE = add_magic_quotes($_COOKIE); 19 19 } 20 20 … … 23 23 $wpvar = $wpvarstoreset[$i]; 24 24 if (!isset($$wpvar)) { 25 if (empty($ HTTP_POST_VARS["$wpvar"])) {26 if (empty($ HTTP_GET_VARS["$wpvar"])) {25 if (empty($_POST["$wpvar"])) { 26 if (empty($_GET["$wpvar"])) { 27 27 $$wpvar = ''; 28 28 } else { 29 $$wpvar = $ HTTP_GET_VARS["$wpvar"];29 $$wpvar = $_GET["$wpvar"]; 30 30 } 31 31 } else { 32 $$wpvar = $ HTTP_POST_VARS["$wpvar"];32 $$wpvar = $_POST["$wpvar"]; 33 33 } 34 34 }
Note: See TracChangeset
for help on using the changeset viewer.