[wp-trac] [WordPress Trac] #11738: sanitize_text_field() issue with UTF-8 characters
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 6 08:02:03 UTC 2010
#11738: sanitize_text_field() issue with UTF-8 characters
--------------------------+-------------------------------------------------
Reporter: hakre | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9.2
Component: General | Version: 2.9.1
Severity: normal | Keywords: needs-patch
--------------------------+-------------------------------------------------
Comment(by azaozz):
PCRE UTF-8 (the "u" modifier) is not supported everywhere. For reference
see wp_check_invalid_utf8(). We probably could set a global instead of
the static there and use that for the three functions since they are
usually called multiple times.
In any case this will need testing in an affected locale/installation.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11738#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list