Make WordPress Core


Ignore:
Timestamp:
06/28/2012 08:24:50 PM (12 years ago)
Author:
nacin
Message:

s/inval/intval/. props PeteMall. see #14889.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-constants.php

    r21165 r21168  
    4242    if ( function_exists( 'memory_get_usage' ) ) {
    4343        $current_limit = @ini_get( 'memory_limit' );
    44         if ( -1 != $current_limit && ( -1 == WP_MEMORY_LIMIT || ( inval( $current_limit ) < abs( intval( WP_MEMORY_LIMIT ) ) ) ) )
     44        if ( -1 != $current_limit && ( -1 == WP_MEMORY_LIMIT || ( intval( $current_limit ) < abs( intval( WP_MEMORY_LIMIT ) ) ) ) )
    4545            @ini_set( 'memory_limit', WP_MEMORY_LIMIT );
    4646    }
Note: See TracChangeset for help on using the changeset viewer.