WordPress.org

Make WordPress Core

Ticket #20432: 20432.patch

File 20432.patch, 380 bytes (added by ocean90, 3 years ago)
  • wp-admin/includes/image.php

     
    5555                        $src = wp_load_image( $src_file ); 
    5656                } 
    5757        } else { 
    58                 $src = wp_load_image( $src_file ); 
     58                $src = wp_load_image( $src ); 
    5959        } 
    6060 
    6161        if ( ! is_resource( $src ) )