We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ccdd7c commit 164c5f0Copy full SHA for 164c5f0
composer.json
@@ -31,5 +31,13 @@
31
"post-update-cmd": [
32
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs"
33
]
34
+ },
35
+ "archive": {
36
+ "exclude": [
37
+ ".git",
38
+ ".github",
39
+ "tests",
40
+ "composer.lock"
41
+ ]
42
}
43
inc/class-s3-uploads.php
@@ -138,7 +138,7 @@ public function delete_attachment_files( $post_id ) {
138
139
$file = \apply_filters( 's3_delete_attachment_file', $file );
140
if ( empty( $file ) ) {
141
- continue;
+ return;
142
143
144
if ( $deleted[ $file ] ?? false ) {
0 commit comments