plugin updates

This commit is contained in:
Tony Volpe
2024-09-05 11:04:01 -04:00
parent ed6b060261
commit 50cd64dd3d
925 changed files with 16918 additions and 13003 deletions

View File

@@ -165,6 +165,9 @@ if ( is_multisite() ) {
$meta_table = \WPMailSMTP\Tasks\Meta::get_table_name();
$wpdb->query( "DROP TABLE IF EXISTS $meta_table;" ); // phpcs:ignore WordPress.DB
// Delete current sub-site wp-mail-smtp uploads folder.
\WPMailSMTP\Uploads::delete_upload_dir();
// Restore the current network site back to the original one.
restore_current_blog();
}
@@ -253,5 +256,8 @@ if ( is_multisite() ) {
$meta_table = \WPMailSMTP\Tasks\Meta::get_table_name();
$wpdb->query( "DROP TABLE IF EXISTS $meta_table;" ); // phpcs:ignore WordPress.DB
// Delete wp-mail-smtp uploads folder.
\WPMailSMTP\Uploads::delete_upload_dir();
}
//phpcs:enable WPForms.Formatting.EmptyLineAfterAssigmentVariables.AddEmptyLine, WPForms.PHP.BackSlash.UseShortSyntax