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