[wp-trac] Re: [WordPress Trac] #10234: Incorrect 'siteurl' inserted
into database
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 23 01:11:24 GMT 2009
#10234: Incorrect 'siteurl' inserted into database
-----------------------------+----------------------------------------------
Reporter: SteveBooth | Owner: dd32
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8.1
Component: Upgrade/Install | Version:
Severity: blocker | Keywords:
-----------------------------+----------------------------------------------
Comment(by SteveBooth):
Geez the code in canonical.php didnt post at all right. let me try that
again. Here's at line 45:
if ( !$requested_url ) {
// build the URL in the address bar
$requested_url = ( !empty($_SERVER['HTTPS'] ) &&
strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://';
$requested_url .= $_SERVER['HTTP_HOST'];
$requested_url .= $_SERVER['REQUEST_URI'];
}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10234#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list