WordPress.org

Make WordPress Core

Ticket #35565: 35565.diff

File 35565.diff, 503 bytes (added by georgestephanis, 4 years ago)
  • src/wp-admin/includes/file.php

     
    409409                'file' => $new_file,
    410410                'url'  => $url,
    411411                'type' => $type
    412         ), 'wp_handle_sideload' === $action ? 'sideload' : 'upload' ); }
     412        ), 'wp_handle_sideload' === $action ? 'sideload' : 'upload' );
     413}
    413414
    414415/**
    415416 * Wrapper for _wp_handle_upload(), passes 'wp_handle_upload' action.