WPDB: When removing invalid characters from utf8 strings in older versions of PHP, the regex was too large to be compiled.

See #21212

Built from https://develop.svn.wordpress.org/trunk@30366


git-svn-id: http://core.svn.wordpress.org/trunk@30365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2014-11-17 11:58:22 +00:00
parent ddbb5a850f
commit 14bf4939e4
1 changed files with 1 additions and 1 deletions

View File

@ -2411,7 +2411,7 @@ class wpdb {
| [\xE1-\xEC][\x80-\xBF]{2}
| \xED[\x80-\x9F][\x80-\xBF]
| [\xEE-\xEF][\x80-\xBF]{2}
){1,100} # ...one or more times
){1,50} # ...one or more times
)
| . # anything else
/x';