Make WordPress Core


Ignore:
Timestamp:
04/28/2011 04:25:36 PM (14 years ago)
Author:
westi
Message:

Introduce WP_MAX_MEMORY_LIMIT constant for the high memory limit we set when image processing and unzipping.
Ensure it is always filterable by plugins as well as configurable in wp-config
Fixes #13847 props hakre

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin.php

    r17748 r17749  
    107107
    108108if ( current_user_can( 'manage_options' ) )
    109     @ini_set( 'memory_limit', apply_filters( 'admin_memory_limit', '256M' ) );
     109    @ini_set( 'memory_limit', apply_filters( 'admin_memory_limit', WP_MAX_MEMORY_LIMIT ) );
    110110
    111111do_action('admin_init');
Note: See TracChangeset for help on using the changeset viewer.