Make WordPress Core


Ignore:
Timestamp:
05/06/2015 07:42:10 PM (9 years ago)
Author:
helen
Message:

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

Merges [32375] to the 4.0 branch.

props pento.
See #32204.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.0/src/wp-includes/wp-db.php

    r32388 r32397  
    26262626                }
    26272627
    2628                 $regex .= '){1,50}                          # ...one or more times
     2628                $regex .= '){1,40}                          # ...one or more times
    26292629                    )
    26302630                    | .                                  # anything else
Note: See TracChangeset for help on using the changeset viewer.