Make WordPress Core

Opened 5 years ago

Last modified 2 months ago

#45897 new defect (bug)

Chinese page uri dump fail

Reported by: zh1995's profile zh1995 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0.2
Component: I18N Keywords: needs-testing has-patch
Focuses: Cc:

Description (last modified by sabernhardt)

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'] ) );

Attachments (1)

45897.patch (678 bytes) - added by sabernhardt 4 years ago.

Download all attachments as: .zip

Change History (4)

4 years ago

#1 @sabernhardt
4 years ago

  • Component changed from General to I18N
  • Keywords needs-patch needs-testing added

@zh1995 Hi and thanks for the report!

I made a patch file with the url_decode() change you suggested, so people can test it.

#2 @sabernhardt
2 years ago

  • Description modified (diff)
  • Keywords has-patch added; needs-patch removed
Note: See TracTickets for help on using tickets.