wp_handle_upload renvoie le nom du fichier téléchargé
$movefile = wp_handle_upload($uploadedfile, array('test_form' => false));
$new_filename = basename( $movefile['file'] );
$filename_was_changed = new_filename !== $_FILES['image_verification']['name'];
Adventurous Alligator