Changeset 628 for trunk/wp-admin/profile.php
- Timestamp:
- 12/18/2003 09:36:13 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/profile.php
r617 r628 19 19 } 20 20 21 $ b2varstoreset = array('action','standalone','redirect','profile','user');22 for ($i=0; $i<count($ b2varstoreset); $i += 1) {23 $ b2var = $b2varstoreset[$i];24 if (!isset($$ b2var)) {25 if (empty($HTTP_POST_VARS["$ b2var"])) {26 if (empty($HTTP_GET_VARS["$ b2var"])) {27 $$ b2var = '';21 $wpvarstoreset = array('action','standalone','redirect','profile','user'); 22 for ($i=0; $i<count($wpvarstoreset); $i += 1) { 23 $wpvar = $wpvarstoreset[$i]; 24 if (!isset($$wpvar)) { 25 if (empty($HTTP_POST_VARS["$wpvar"])) { 26 if (empty($HTTP_GET_VARS["$wpvar"])) { 27 $$wpvar = ''; 28 28 } else { 29 $$ b2var = $HTTP_GET_VARS["$b2var"];29 $$wpvar = $HTTP_GET_VARS["$wpvar"]; 30 30 } 31 31 } else { 32 $$ b2var = $HTTP_POST_VARS["$b2var"];32 $$wpvar = $HTTP_POST_VARS["$wpvar"]; 33 33 } 34 34 } … … 36 36 37 37 require_once('../wp-config.php'); 38 require_once( $abspath.$b2inc.'/functions.php');38 require_once(ABSPATH.WPINC.'/functions.php'); 39 39 40 40 switch($action) {
Note: See TracChangeset
for help on using the changeset viewer.