Make WordPress Core

Changeset 6784


Ignore:
Timestamp:
02/11/2008 08:14:01 AM (16 years ago)
Author:
ryan
Message:

Use absint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/image.php

    r6783 r6784  
    151151        $metadata['file'] = $file;
    152152
    153         $max = apply_filters( 'wp_thumbnail_creation_size_limit', abs( inval( WP_MEMORY_LIMIT ) ) * 1024 * 1024, $attachment_id, $file );
     153        $max = apply_filters( 'wp_thumbnail_creation_size_limit', absint( WP_MEMORY_LIMIT ) * 1024 * 1024, $attachment_id, $file );
    154154
    155155        if ( $max < 0 || $metadata['width'] * $metadata['height'] < $max ) {
Note: See TracChangeset for help on using the changeset viewer.