From e258184716039a02308c327f4abca84601bd3a23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helen=20Hou-Sand=C3=AD?= Date: Wed, 6 May 2015 19:42:23 +0000 Subject: [PATCH] The UTF-8 regex can occasionally fail on very low memory machines. Reduce the amount of memory it uses. Merges [32375] to the 4.1 branch. props pento. See #32204. Built from https://develop.svn.wordpress.org/branches/4.1@32396 git-svn-id: http://core.svn.wordpress.org/branches/4.1@32366 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 61a213d482..a06493e8eb 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -2626,7 +2626,7 @@ class wpdb { '; } - $regex .= '){1,50} # ...one or more times + $regex .= '){1,40} # ...one or more times ) | . # anything else /x';