- Timestamp:
- 12/16/2016 05:38:41 AM (8 years ago)
- Location:
- branches/4.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.7
-
branches/4.7/src/wp-includes/class-wp-image-editor-imagick.php
r39303 r39607 147 147 try { 148 148 $this->image = new Imagick(); 149 $file_ parts = pathinfo( $this->file);149 $file_extension = strtolower( pathinfo( $this->file, PATHINFO_EXTENSION ) ); 150 150 $filename = $this->file; 151 151 152 if ( 'pdf' == strtolower( $file_parts['extension'] )) {152 if ( 'pdf' == $file_extension ) { 153 153 $filename = $this->pdf_setup(); 154 154 }
Note: See TracChangeset
for help on using the changeset viewer.