WordPress.org

Make WordPress Core

Ticket #48075: 48075.1.patch

File 48075.1.patch, 457 bytes (added by dkarfa, 5 months ago)
  • src/wp-includes/class-wp-image-editor.php

     
    360360                $new_ext = strtolower( $extension ? $extension : $ext );
    361361
    362362                if ( ! is_null( $dest_path ) ) {
    363                         $_dest_path = realpath( $dest_path );
    364363                        if ( $_dest_path ) {
    365364                                $dir = $_dest_path;
    366365                        }