Update WordPress to 5.2
This commit is contained in:
parent
489b5a5914
commit
e00f87f2f5
599 changed files with 119573 additions and 55990 deletions
|
@ -388,7 +388,10 @@ function redirect_canonical( $requested_url = null, $do_redirect = true ) {
|
|||
}
|
||||
}
|
||||
|
||||
$_parsed_query = rawurlencode_deep( $_parsed_query );
|
||||
$_parsed_query = array_combine(
|
||||
rawurlencode_deep( array_keys( $_parsed_query ) ),
|
||||
rawurlencode_deep( array_values( $_parsed_query ) )
|
||||
);
|
||||
$redirect_url = add_query_arg( $_parsed_query, $redirect_url );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue