Changeset 58938 for trunk/src/wp-includes/default-constants.php
- Timestamp:
- 08/26/2024 08:55:29 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-constants.php
r58937 r58938 57 57 if ( false === wp_is_ini_value_changeable( 'memory_limit' ) ) { 58 58 define( 'WP_MAX_MEMORY_LIMIT', $current_limit ); 59 } elseif ( -1 === $current_limit_int || $current_limit_int > 2 68435456 /* = 256M */) {59 } elseif ( -1 === $current_limit_int || $current_limit_int > 256 * MB_IN_BYTES ) { 60 60 define( 'WP_MAX_MEMORY_LIMIT', $current_limit ); 61 } elseif ( wp_convert_hr_to_bytes( WP_MEMORY_LIMIT ) > 2 68435456 /* = 256M */) {61 } elseif ( wp_convert_hr_to_bytes( WP_MEMORY_LIMIT ) > 256 * MB_IN_BYTES ) { 62 62 define( 'WP_MAX_MEMORY_LIMIT', WP_MEMORY_LIMIT ); 63 63 } else {
Note: See TracChangeset
for help on using the changeset viewer.