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