WordPress.org

Make WordPress Core

Ticket #3178: mt.php.diff

File mt.php.diff, 493 bytes (added by technosailor, 9 years ago)
  • wp-admin/import/mt.php

     
    7575 
    7676        function get_entries() { 
    7777                set_magic_quotes_runtime(0); 
     78                ini_set('memory_limit', '50M'); 
    7879                $importdata = file($this->file); // Read the file into an array 
    7980                $importdata = implode('', $importdata); // squish it 
    8081                $importdata = preg_replace("/(\r\n|\n|\r)/", "\n", $importdata);