Ticket #39195: 39195.patch
File 39195.patch, 565 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/class-wp-image-editor-imagick.php
149 149 $file_parts = pathinfo( $this->file ); 150 150 $filename = $this->file; 151 151 152 if ( 'pdf' == strtolower( $file_parts['extension'] ) ) {152 if ( ! empty( $file_parts['extension'] ) && 'pdf' == strtolower( $file_parts['extension'] ) ) { 153 153 $filename = $this->pdf_setup(); 154 154 } 155 155