[wp-trac] Re: [WordPress Trac] #10234: Incorrect 'siteurl' inserted
into database
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 23 08:36:39 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 dd32):
Heres the code for others:
{{{
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'];
}
}}}
if {{{$_SERVER['REQUEST_URI']}}} is empty, wp-settings.php fills it, You
might want to take a look at the code for that in there and see if you can
see anything overwriting it. The only real changes i see to that code are
enhancements for IIS.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10234#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list