[wp-trac] [WordPress Trac] #62551: search field (users) looses AT sign in field after editting profile
WordPress Trac
noreply at wordpress.org
Mon Nov 25 05:12:25 UTC 2024
#62551: search field (users) looses AT sign in field after editting profile
-----------------------------------------+------------------------------
Reporter: PcTevree | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 6.7.1
Severity: normal | Resolution:
Keywords: reporter-feedback has-patch | Focuses: administration
-----------------------------------------+------------------------------
Comment (by yogeshbhutkar):
Hi @PcTevree,
Welcome to Trac and Thanks for reporting the issue. I was able to
reproduce the issue at my end and have submitted a potential solution for
the bug.
Also, thanks to @siliconforks for analyzing the bug, and yes, the issue
was caused by `sanitize_text_field` itself as it was stripping out all the
`%-encoded characters`, replacing it with `sanitize_url` made more sense
(as `wp_http_referrer` is not a generic text field) and fixed the issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62551#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list