Changeset 628 for trunk/wp-admin/link-manager.php
- Timestamp:
- 12/18/2003 09:36:13 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-manager.php
r601 r628 42 42 } 43 43 44 $ b2varstoreset = array('action','standalone','cat_id', 'linkurl', 'name', 'image',44 $wpvarstoreset = array('action','standalone','cat_id', 'linkurl', 'name', 'image', 45 45 'description', 'visible', 'target', 'category', 'link_id', 46 46 'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel', 47 47 'notes', 'linkcheck[]'); 48 for ($i=0; $i<count($ b2varstoreset); $i += 1) {49 $ b2var = $b2varstoreset[$i];50 if (!isset($$ b2var)) {51 if (empty($HTTP_POST_VARS["$ b2var"])) {52 if (empty($HTTP_GET_VARS["$ b2var"])) {53 $$ b2var = '';48 for ($i=0; $i<count($wpvarstoreset); $i += 1) { 49 $wpvar = $wpvarstoreset[$i]; 50 if (!isset($$wpvar)) { 51 if (empty($HTTP_POST_VARS["$wpvar"])) { 52 if (empty($HTTP_GET_VARS["$wpvar"])) { 53 $$wpvar = ''; 54 54 } else { 55 $$ b2var = $HTTP_GET_VARS["$b2var"];55 $$wpvar = $HTTP_GET_VARS["$wpvar"]; 56 56 } 57 57 } else { 58 $$ b2var = $HTTP_POST_VARS["$b2var"];58 $$wpvar = $HTTP_POST_VARS["$wpvar"]; 59 59 } 60 60 }
Note: See TracChangeset
for help on using the changeset viewer.