[wp-trac] [WordPress Trac] #61317: Customizer load wrong page for customizing the "Page".
WordPress Trac
noreply at wordpress.org
Thu Mar 6 14:59:51 UTC 2025
#61317: Customizer load wrong page for customizing the "Page".
-----------------------------------------------+-----------------------
Reporter: okvee | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.8
Component: Customize | Version: 6.6
Severity: normal | Resolution: fixed
Keywords: has-testing-info has-patch commit | Focuses:
-----------------------------------------------+-----------------------
Changes (by audrasjb):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"59945" 59945]:
{{{
#!CommitTicketReference repository="" revision="59945"
Customize: Properly escape URLs passed by `url` and `return` parameters.
This changeset replaces `sanitize_text_field()` with `esc_url_raw()` for
URLs passed via `url` and `return` query vars. This fixes an issue where
the URL `example.com/หน้าภาษาไทย` would incorrectly return `example.com//`
due to improper sanitization when clicking on the Customize button through
the admin bar.
Props okvee, yahaly, hellofromTonya, veryard, dilip2615, amin7,
swissspidy, audrasjb.
Fixes #61317.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61317#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list