From 14bf4939e4da9081357aa101a44cf0df1c763015 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Mon, 17 Nov 2014 11:58:22 +0000 Subject: [PATCH] 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 --- wp-includes/wp-db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index dc5a8db228..e297152092 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -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';