WordPress.org

Make WordPress Core

Ticket #34319: 34319.diff

File 34319.diff, 466 bytes (added by neoxx, 5 years ago)
  • media.php

     
    868868        $img_width  = ( $image ) ? $image['width']  : $img_meta['width'];
    869869        $img_height = ( $image ) ? $image['height'] : $img_meta['height'];
    870870
    871         // Bail early if the width isn't greater that zero.
     871        // Bail early if the width isn't greater than zero.
    872872        if ( ! $img_width > 0 ) {
    873873                return false;
    874874        }