Make WordPress Core


Ignore:
Timestamp:
12/09/2008 06:03:31 PM (16 years ago)
Author:
ryan
Message:

Strip trailing whitespace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/media.php

    r9894 r10150  
    7070
    7171    list( $max_width, $max_height ) = apply_filters( 'editor_max_image_size', array( $max_width, $max_height ), $size );
    72    
     72
    7373    return wp_constrain_dimensions( $width, $height, $max_width, $max_height );
    7474}
     
    159159        $height = $meta['height'];
    160160    }
    161    
     161
    162162    if ( $img_url) {
    163163        // we have the actual image size, but might need to further constrain it if content_width is narrower
     
    431431 * than the specified size will be used. If nothing is found, then the function
    432432 * will break out and return false.
    433  * 
     433 *
    434434 * The metadata 'sizes' is used for compatible sizes that can be used for the
    435435 * parameter $size value.
Note: See TracChangeset for help on using the changeset viewer.