Make WordPress Core

Ticket #8149: 8149.diff

File 8149.diff, 512 bytes (added by ryan, 16 years ago)
  • wp-admin/includes/file.php

     
    469469        if ( ! $wp_filesystem || !is_object($wp_filesystem) )
    470470                return new WP_Error('fs_unavailable', __('Could not access filesystem.'));
    471471
     472        // Unzip uses a lot of memory
     473        @ini_set('memory_limit', '256M');
     474
    472475        $fs =& $wp_filesystem;
    473476
    474477        require_once(ABSPATH . 'wp-admin/includes/class-pclzip.php');