Changeset 45590 for trunk/src/wp-includes/class-wp-image-editor.php
- Timestamp:
- 07/02/2019 11:41:16 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-image-editor.php
r42746 r45590 360 360 $new_ext = strtolower( $extension ? $extension : $ext ); 361 361 362 if ( ! is_null( $dest_path ) && $_dest_path = realpath( $dest_path ) ) { 363 $dir = $_dest_path; 362 if ( ! is_null( $dest_path ) ) { 363 $_dest_path = realpath( $dest_path ); 364 if ( $_dest_path ) { 365 $dir = $_dest_path; 366 } 364 367 } 365 368 … … 393 396 */ 394 397 protected function make_image( $filename, $function, $arguments ) { 395 if ( $stream = wp_is_stream( $filename ) ) { 398 $stream = wp_is_stream( $filename ); 399 if ( $stream ) { 396 400 ob_start(); 397 401 } else {
Note: See TracChangeset
for help on using the changeset viewer.