Make WordPress Core


Ignore:
Timestamp:
05/06/2015 07:41:35 PM (7 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.1 branch.

props pento.
See #32204.

File:
1 edited

Legend:

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

    r32387 r32396  
    26272627                }
    26282628
    2629                 $regex .= '){1,50}                          # ...one or more times
     2629                $regex .= '){1,40}                          # ...one or more times
    26302630                    )
    26312631                    | .                                  # anything else
Note: See TracChangeset for help on using the changeset viewer.