[wp-trac] [WordPress Trac] #57207: Consider adding the Unicode regex flag in wp_check_comment_disallowed_list
WordPress Trac
noreply at wordpress.org
Mon Nov 28 18:45:15 UTC 2022
#57207: Consider adding the Unicode regex flag in wp_check_comment_disallowed_list
-------------------------+-----------------------------
Reporter: bonjour52 | Owner: SergeyBiryukov
Type: enhancement | Status: accepted
Priority: normal | Milestone: 6.2
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+-----------------------------
Changes (by SergeyBiryukov):
* keywords: => has-patch
* owner: (none) => SergeyBiryukov
* status: new => accepted
* milestone: Awaiting Review => 6.2
Comment:
Hi there, welcome to WordPress Trac! Thanks for the report.
I was able to reproduce the issue and confirm that adding the `u`
(PCRE_UTF8) modifier fixes it.
[attachment:"57207.diff"] includes a unit test.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57207#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list