WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r25987 r25685  
    4343        $current_limit = @ini_get( 'memory_limit' );
    4444        $current_limit_int = intval( $current_limit );
    45         if ( false !== strpos( $current_limit, 'G' ) )
     45        if ( false !== stripos( $current_limit, 'G' ) )
    4646            $current_limit_int *= 1024;
    4747        $wp_limit_int = intval( WP_MEMORY_LIMIT );
    48         if ( false !== strpos( WP_MEMORY_LIMIT, 'G' ) )
     48        if ( false !== stripos( WP_MEMORY_LIMIT, 'G' ) )
    4949            $wp_limit_int *= 1024;
    5050
Note: See TracChangeset for help on using the changeset viewer.