WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/28/11 16:25:36 (7 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-includes/default-constants.php

    r17745 r17749  
    2525    } 
    2626 
     27    if ( ! defined( 'WP_MAX_MEMORY_LIMIT' ) ) { 
     28        define( 'WP_MAX_MEMORY_LIMIT', '256M' ); 
     29    } 
     30 
    2731    /** 
    2832     * The $blog_id global, which you can change in the config allows you to create a simple 
Note: See TracChangeset for help on using the changeset viewer.