Changeset 1108 for trunk/wp-admin/link-add.php
- Timestamp:
- 04/20/2004 10:56:47 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-add.php
r1100 r1108 33 33 } 34 34 if (!get_magic_quotes_gpc()) { 35 $ HTTP_GET_VARS = add_magic_quotes($HTTP_GET_VARS);36 $ HTTP_POST_VARS = add_magic_quotes($HTTP_POST_VARS);37 $ HTTP_COOKIE_VARS = add_magic_quotes($HTTP_COOKIE_VARS);35 $_GET = add_magic_quotes($_GET); 36 $_POST = add_magic_quotes($_POST); 37 $_COOKIE = add_magic_quotes($_COOKIE); 38 38 } 39 39 … … 45 45 $wpvar = $wpvarstoreset[$i]; 46 46 if (!isset($$wpvar)) { 47 if (empty($ HTTP_POST_VARS["$wpvar"])) {48 if (empty($ HTTP_GET_VARS["$wpvar"])) {47 if (empty($_POST["$wpvar"])) { 48 if (empty($_GET["$wpvar"])) { 49 49 $$wpvar = ''; 50 50 } else { 51 $$wpvar = $ HTTP_GET_VARS["$wpvar"];51 $$wpvar = $_GET["$wpvar"]; 52 52 } 53 53 } else { 54 $$wpvar = $ HTTP_POST_VARS["$wpvar"];54 $$wpvar = $_POST["$wpvar"]; 55 55 } 56 56 } 57 57 } 58 $link_url = stripslashes($ HTTP_GET_VARS['linkurl']);59 $link_name = htmlentities(stripslashes(urldecode($ HTTP_GET_VARS['name'])));58 $link_url = stripslashes($_GET['linkurl']); 59 $link_name = htmlentities(stripslashes(urldecode($_GET['name']))); 60 60 61 61 require('admin-header.php');
Note: See TracChangeset
for help on using the changeset viewer.