Changeset 9177 for trunk/wp-includes/canonical.php
- Timestamp:
- 10/14/2008 09:08:28 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/canonical.php
r9156 r9177 167 167 if ( isset($user_home['host']) ) 168 168 $redirect['host'] = $user_home['host']; 169 if ( !isset($user_home['path']) ) 170 $user_home['path'] = '/'; 169 171 170 172 // Handle ports … … 240 242 $redirect_url .= ':' . $redirect['port']; 241 243 $redirect_url .= $redirect['path']; 242 if ( $redirect['query'])244 if ( isset($redirect['query']) ) 243 245 $redirect_url .= '?' . $redirect['query']; 244 246 }
Note: See TracChangeset
for help on using the changeset viewer.