WordPress.org

Make WordPress Core

Changeset 28072


Ignore:
Timestamp:
04/11/2014 03:09:35 AM (4 years ago)
Author:
nacin
Message:

Account for new cropping settings in the image editor.

props Otto42, SergeyBiryukov.
fixes #19393.

File:
1 edited

Legend:

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

    r27939 r28072  
    779779                $width  = intval( $_wp_additional_image_sizes[ $size ]['width'] );
    780780                $height = intval( $_wp_additional_image_sizes[ $size ]['height'] );
    781                 $crop   = ( $nocrop ) ? false : intval( $_wp_additional_image_sizes[ $size ]['crop'] );
     781                $crop   = ( $nocrop ) ? false : $_wp_additional_image_sizes[ $size ]['crop'];
    782782            } else {
    783783                $height = get_option( "{$size}_size_h" );
Note: See TracChangeset for help on using the changeset viewer.