Make WordPress Core

Changeset 6682 for trunk/wp-settings.php


Ignore:
Timestamp:
01/29/2008 06:48:38 PM (17 years ago)
Author:
westi
Message:

Switch from abs(intval()) to absint(). See #4762.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r6681 r6682  
    1313    define('WP_MEMORY_LIMIT', '32M');
    1414
    15 if ( function_exists('memory_get_usage') && ( (int) @ini_get('memory_limit') < abs(intval(WP_MEMORY_LIMIT)) ) )
     15if ( function_exists('memory_get_usage') && ( (int) @ini_get('memory_limit') < absint(WP_MEMORY_LIMIT) ) )
    1616    @ini_set('memory_limit', WP_MEMORY_LIMIT);
    1717
Note: See TracChangeset for help on using the changeset viewer.