Changeset 628 for trunk/wp-admin/import-blogger.php
- Timestamp:
- 12/18/2003 09:36:13 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import-blogger.php
r617 r628 1 1 <?php // rename this to blogger-2-b2.php 2 2 3 $ b2varstoreset = array('action');4 for ($i=0; $i<count($ b2varstoreset); $i += 1) {5 $ b2var = $b2varstoreset[$i];6 if (!isset($$ b2var)) {7 if (empty($HTTP_POST_VARS["$ b2var"])) {8 if (empty($HTTP_GET_VARS["$ b2var"])) {9 $$ b2var = '';3 $wpvarstoreset = array('action'); 4 for ($i=0; $i<count($wpvarstoreset); $i += 1) { 5 $wpvar = $wpvarstoreset[$i]; 6 if (!isset($$wpvar)) { 7 if (empty($HTTP_POST_VARS["$wpvar"])) { 8 if (empty($HTTP_GET_VARS["$wpvar"])) { 9 $$wpvar = ''; 10 10 } else { 11 $$ b2var = $HTTP_GET_VARS["$b2var"];11 $$wpvar = $HTTP_GET_VARS["$wpvar"]; 12 12 } 13 13 } else { 14 $$ b2var = $HTTP_POST_VARS["$b2var"];14 $$wpvar = $HTTP_POST_VARS["$wpvar"]; 15 15 } 16 16 } … … 22 22 23 23 require_once('../wp-config.php'); 24 require_once( $abspath.$b2inc.'/template-functions.php');25 require_once( $abspath.$b2inc.'/functions.php');26 require_once( $abspath.$b2inc.'/vars.php');24 require_once(ABSPATH.WPINC.'/template-functions.php'); 25 require_once(ABSPATH.WPINC.'/functions.php'); 26 require_once(ABSPATH.WPINC.'/vars.php'); 27 27 28 28 ?>
Note: See TracChangeset
for help on using the changeset viewer.