📅  最后修改于: 2022-03-11 14:53:40.402000             🧑  作者: Mango
$movefile = wp_handle_upload($uploadedfile, array('test_form' => false));
$new_filename = basename( $movefile['file'] );
$filename_was_changed = new_filename !== $_FILES['image_verification']['name'];