Changeset 21168 for trunk/wp-includes/default-constants.php
- Timestamp:
- 06/28/2012 08:24:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-constants.php
r21165 r21168 42 42 if ( function_exists( 'memory_get_usage' ) ) { 43 43 $current_limit = @ini_get( 'memory_limit' ); 44 if ( -1 != $current_limit && ( -1 == WP_MEMORY_LIMIT || ( in val( $current_limit ) < abs( intval( WP_MEMORY_LIMIT ) ) ) ) )44 if ( -1 != $current_limit && ( -1 == WP_MEMORY_LIMIT || ( intval( $current_limit ) < abs( intval( WP_MEMORY_LIMIT ) ) ) ) ) 45 45 @ini_set( 'memory_limit', WP_MEMORY_LIMIT ); 46 46 }
Note: See TracChangeset
for help on using the changeset viewer.