Changeset 6998 for trunk/wp-includes/canonical.php
- Timestamp:
- 02/24/2008 02:09:24 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/canonical.php
r6983 r6998 179 179 $redirect['host'] = $original['host']; 180 180 181 // prevent notices in the comparison below182 $original['query'] = isset($redirect['query'])? $redirect['query'] : false;183 $original['port'] = isset($redirect['port'])? $redirect['port'] : false;184 $redirect['query'] = isset($redirect['query'])? $redirect['query'] : false;185 $redirect['port'] = isset($redirect['port'])? $redirect['port'] : false;186 187 181 if ( array($original['host'], $original['port'], $original['path'], $original['query']) !== array($redirect['host'], $redirect['port'], $redirect['path'], $redirect['query']) ) { 188 182 $redirect_url = $redirect['scheme'] . '://' . $redirect['host'];
Note: See TracChangeset
for help on using the changeset viewer.