fixing phpcs comment

This commit is contained in:
Ovidiu Liuta 2021-04-23 14:22:50 +03:00 committed by GitHub
parent b23f117d84
commit f01c4a288c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ abstract class WC_CSV_Batch_Exporter extends WC_CSV_Exporter {
if ( 1 === $this->get_page() ) {
@unlink( $this->get_file_path() ); // phpcs:ignore WordPress.VIP.FileSystemWritesDisallow.file_ops_unlink, Generic.PHP.NoSilencedErrors.Discouraged,
// we need to initialize the file here
// We need to initialize the file here.
$this->get_file();
}
$this->prepare_data_to_export();