Loading s3-uploads.php +2 −2 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ function s3_uploads_init() { // S3 streamWrapper. add_action( 'wp_privacy_personal_data_export_file', 's3_uploads_before_export_personal_data', 9 ); add_action( 'wp_privacy_personal_data_export_file', 's3_uploads_after_export_personal_data', 11 ); add_action( 'wp_privacy_personal_data_export_file_created', 's3_uplodas_move_temp_personal_data_to_s3', 1000 ); add_action( 'wp_privacy_personal_data_export_file_created', 's3_uploads_move_temp_personal_data_to_s3', 1000 ); } /** Loading Loading @@ -175,7 +175,7 @@ function s3_uploads_set_wp_privacy_exports_dir( $dir ) { * location to the S3 location where it should have been stored all along, and where * the "natural" Core URL is going to be pointing to. */ function s3_uplodas_move_temp_personal_data_to_s3( $archive_pathname ) { function s3_uploads_move_temp_personal_data_to_s3( $archive_pathname ) { if ( strpos( $archive_pathname, sys_get_temp_dir() ) !== 0 ) { return; } Loading Loading
s3-uploads.php +2 −2 Original line number Diff line number Diff line Loading @@ -59,7 +59,7 @@ function s3_uploads_init() { // S3 streamWrapper. add_action( 'wp_privacy_personal_data_export_file', 's3_uploads_before_export_personal_data', 9 ); add_action( 'wp_privacy_personal_data_export_file', 's3_uploads_after_export_personal_data', 11 ); add_action( 'wp_privacy_personal_data_export_file_created', 's3_uplodas_move_temp_personal_data_to_s3', 1000 ); add_action( 'wp_privacy_personal_data_export_file_created', 's3_uploads_move_temp_personal_data_to_s3', 1000 ); } /** Loading Loading @@ -175,7 +175,7 @@ function s3_uploads_set_wp_privacy_exports_dir( $dir ) { * location to the S3 location where it should have been stored all along, and where * the "natural" Core URL is going to be pointing to. */ function s3_uplodas_move_temp_personal_data_to_s3( $archive_pathname ) { function s3_uploads_move_temp_personal_data_to_s3( $archive_pathname ) { if ( strpos( $archive_pathname, sys_get_temp_dir() ) !== 0 ) { return; } Loading