Turn & to & in add_query_arg(). fixes #4878
git-svn-id: http://svn.automattic.com/wordpress/trunk@6005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b04e8d39ee
commit
d60384b385
|
@ -606,6 +606,8 @@ function add_query_arg() {
|
|||
$uri = @func_get_arg(2);
|
||||
}
|
||||
|
||||
$uri = str_replace('&', '&', $uri);
|
||||
|
||||
if ( $frag = strstr($uri, '#') )
|
||||
$uri = substr($uri, 0, -strlen($frag));
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue