[wp-trac] Re: [WordPress Trac] #2853: 404 error while saving options
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 23 20:02:56 GMT 2006
#2853: 404 error while saving options
--------------------------------------+-------------------------------------
Reporter: Ishbir | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.1
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: 404 options bg|has-patch |
--------------------------------------+-------------------------------------
Comment (by tereshchenko):
I compared files in 2.0.2 (which worked fine) and current SVN - and found
that add_query_arg() function was modified for 2.0.3
Following code was added:
{{{
if ( preg_match('|^https?://|i', $uri, $matches) ) {
$protocol = $matches[0];
$uri = substr($uri, strlen($protocol));
} else {
$protocol = '';
}
}}}
I suspect the issue's in it.
--
Ticket URL: <http://trac.wordpress.org/ticket/2853>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list