Ticket #6890: patch-canonical-nohost.patch
| File patch-canonical-nohost.patch, 407 bytes (added by thenlich, 4 months ago) |
|---|
-
canonical.php
old new 137 137 138 138 // www.example.com vs example.com 139 139 $user_home = @parse_url(get_option('home')); 140 $redirect['host'] = $user_home['host']; 140 if ( isset($user_home['host']) ) 141 $redirect['host'] = $user_home['host']; 141 142 142 143 // Handle ports 143 144 if ( isset($user_home['port']) )
