From 2b2a48cbb5089d3f0c9800a2e3d5dbecfa293cd8 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 29 Jan 2008 20:00:17 +0000 Subject: [PATCH] absint is not defined yet. see #4762 git-svn-id: https://develop.svn.wordpress.org/trunk@6684 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-settings.php b/wp-settings.php index 8732710ff1..5fc0cf53ca 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -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); /**