From b74c0203d9bb9c75a5fab783a59735d17b730ecc Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 28 Jun 2012 20:24:50 +0000 Subject: [PATCH] s/inval/intval/. props PeteMall. see #14889. git-svn-id: https://develop.svn.wordpress.org/trunk@21168 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/default-constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/default-constants.php b/wp-includes/default-constants.php index 476580c931..ccb997c2ed 100644 --- a/wp-includes/default-constants.php +++ b/wp-includes/default-constants.php @@ -41,7 +41,7 @@ function wp_initial_constants( ) { // set memory limits. if ( function_exists( 'memory_get_usage' ) ) { $current_limit = @ini_get( 'memory_limit' ); - if ( -1 != $current_limit && ( -1 == WP_MEMORY_LIMIT || ( inval( $current_limit ) < abs( intval( WP_MEMORY_LIMIT ) ) ) ) ) + if ( -1 != $current_limit && ( -1 == WP_MEMORY_LIMIT || ( intval( $current_limit ) < abs( intval( WP_MEMORY_LIMIT ) ) ) ) ) @ini_set( 'memory_limit', WP_MEMORY_LIMIT ); }