Ticket #4762: 4762.diff
| File 4762.diff, 0.5 kB (added by ruckus, 7 months ago) |
|---|
-
wp-settings.php
old new 12 12 if ( !defined('WP_MEMORY_LIMIT') ) 13 13 define('WP_MEMORY_LIMIT', '32M'); 14 14 15 if ( function_exists('memory_get_usage') && ( (int) @ini_get('memory_limit') < absint(WP_MEMORY_LIMIT) ) )15 if ( function_exists('memory_get_usage') && ( abs(intval(ini_get('memory_limit'))) < abs(intval(WP_MEMORY_LIMIT)) ) ) 16 16 @ini_set('memory_limit', WP_MEMORY_LIMIT); 17 17 18 18 /**
