The UTF-8 regex can occasionally fail on very low memory machines. Reduce the amount of memory it uses.

Merges [32375] to the 3.7 branch.

props pento.
fixes #32204.

Built from https://develop.svn.wordpress.org/branches/3.7@32400


git-svn-id: http://core.svn.wordpress.org/branches/3.7@32370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2015-05-06 19:44:19 +00:00
parent 15a2afed1e
commit 0697563967
1 changed files with 1 additions and 1 deletions

View File

@ -2204,7 +2204,7 @@ class wpdb {
';
}
$regex .= '){1,50} # ...one or more times
$regex .= '){1,40} # ...one or more times
)
| . # anything else
/x';