Make WordPress Core

Changeset 13103


Ignore:
Timestamp:
02/13/2010 09:40:04 AM (15 years ago)
Author:
markjaquith
Message:

Do not limit thumbnails by the content_width. props Viper007Bond. fixes #12146

File:
1 edited

Legend:

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

    r12875 r13103  
    6565        $max_width = intval( $_wp_additional_image_sizes[$size]['width'] );
    6666        $max_height = intval( $_wp_additional_image_sizes[$size]['height'] );
    67         if ( intval($content_width) > 0 )
    68             $max_width = min( intval($content_width), $max_width );
    6967    }
    7068    // $size == 'full' has no constraint
Note: See TracChangeset for help on using the changeset viewer.