absint is not defined yet. see #4762
git-svn-id: http://svn.automattic.com/wordpress/trunk@6684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7f4b870b15
commit
a5246f532f
|
@ -12,7 +12,7 @@
|
|||
if ( !defined('WP_MEMORY_LIMIT') )
|
||||
define('WP_MEMORY_LIMIT', '32M');
|
||||
|
||||
if ( function_exists('memory_get_usage') && ( (int) @ini_get('memory_limit') < absint(WP_MEMORY_LIMIT) ) )
|
||||
if ( function_exists('memory_get_usage') && ( (int) @ini_get('memory_limit') < abs(intval(WP_MEMORY_LIMIT)) ) )
|
||||
@ini_set('memory_limit', WP_MEMORY_LIMIT);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue