Changeset 45611 for trunk/src/wp-includes/default-constants.php
- Timestamp:
- 07/09/2019 05:44:42 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/default-constants.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-constants.php
r45203 r45611 35 35 } 36 36 37 $current_limit = @ini_get( 'memory_limit' );37 $current_limit = ini_get( 'memory_limit' ); 38 38 $current_limit_int = wp_convert_hr_to_bytes( $current_limit ); 39 39 … … 62 62 $wp_limit_int = wp_convert_hr_to_bytes( WP_MEMORY_LIMIT ); 63 63 if ( -1 !== $current_limit_int && ( -1 === $wp_limit_int || $wp_limit_int > $current_limit_int ) ) { 64 @ini_set( 'memory_limit', WP_MEMORY_LIMIT );64 ini_set( 'memory_limit', WP_MEMORY_LIMIT ); 65 65 } 66 66
Note: See TracChangeset
for help on using the changeset viewer.