[wp-trac] [WordPress Trac] #45897: Chinese page uri dump fail
WordPress Trac
noreply at wordpress.org
Wed Jun 22 00:30:21 UTC 2022
#45897: Chinese page uri dump fail
-------------------------------------+------------------------------
Reporter: zh1995 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: 5.0.2
Severity: normal | Resolution:
Keywords: needs-testing has-patch | Focuses:
-------------------------------------+------------------------------
Changes (by sabernhardt):
* keywords: needs-patch needs-testing => needs-testing has-patch
Old description:
> In theme home page , dump fail when clike message page if uri is chinese.
> In file wp-include/class-wp.php,
> should modify like this:
> list( $req_uri ) = explode( '?', urldecode( $_SERVER['REQUEST_URI'] ) );
New description:
In theme home page , dump fail when clike message page if uri is chinese.
In file wp-includes/class-wp.php,
should modify like this:
{{{
list( $req_uri ) = explode( '?', urldecode( $_SERVER['REQUEST_URI'] ) );
}}}
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45897#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list