Make WordPress Core

Ticket #50972: 50972.patch

File 50972.patch, 435 bytes (added by mukesh27, 4 years ago)

Updated patch.

  • src/wp-admin/includes/media.php

     
    448448                }
    449449        }
    450450
     451        if ( isset( $post_data['post_data'] ) ) {
     452                $time = $post_data['post_date'];
     453        }
     454
    451455        $file = wp_handle_sideload( $file_array, $overrides, $time );
    452456
    453457        if ( isset( $file['error'] ) ) {