Ticket #37608: 37608.patch
File 37608.patch, 614 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/class-wp-image-editor.php
376 376 $suffix = $this->get_suffix(); 377 377 378 378 $info = pathinfo( $this->file ); 379 $dir = $info['dirname'];380 $ext = $info['extension'];379 $dir = pathinfo( $this->file, PATHINFO_DIRNAME ); 380 $ext = pathinfo( $this->file, PATHINFO_EXTENSION ); 381 381 382 382 $name = wp_basename( $this->file, ".$ext" ); 383 383 $new_ext = strtolower( $extension ? $extension : $ext );