📁
SKYSHELL MANAGER
PHP v8.1.29
Create
Create
Path:
root
/
var
/
www
/
html
/
wxwpsite
/
fungiftdeals
/
wp-admin
/
Name
Size
Perm
Actions
📁
css
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
includes
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
maint
-
0755
🗑️
🏷️
🔒
📁
network
-
0755
🗑️
🏷️
🔒
📁
user
-
0755
🗑️
🏷️
🔒
📄
about.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-footer.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
12.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
5.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
authorize-application.php
10.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
comment.php
11.37 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
custom-header.php
0.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
customize.php
11.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-blocks.php
14.73 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
19.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
export-personal-data.php
7.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
font-library.php
1.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
home.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
7.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-upload.php
3.58 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
menu-header.php
9.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
network.php
5.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
press-this.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy.php
2.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
setup-config.php
17.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
themes.phpwp-update.php
114.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
update.php
12.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user-edit.php
40.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets-form-blocks.php
5.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: uninstall.php
<?php /** * Uninstall all WP Mail SMTP data. * * @since 1.3.0 */ // Exit if accessed directly. if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { exit; } // Prevent data removal if Pro plugin is active. if ( is_plugin_active( 'wp-mail-smtp-pro/wp_mail_smtp.php' ) ) { return; } // Load plugin file. require_once 'wp_mail_smtp.php'; require_once dirname( __FILE__ ) . '/vendor/woocommerce/action-scheduler/action-scheduler.php'; global $wpdb; /* * Remove Legacy options. */ $options = [ '_amn_smtp_last_checked', 'pepipost_ssl', 'pepipost_port', 'pepipost_pass', 'pepipost_user', 'smtp_pass', 'smtp_user', 'smtp_auth', 'smtp_ssl', 'smtp_port', 'smtp_host', 'mail_set_return_path', 'mailer', 'mail_from_name', 'mail_from', ]; /** * Remove AM announcement posts. */ $am_announcement_params = [ 'post_type' => [ 'amn_smtp' ], 'post_status' => 'any', 'numberposts' => - 1, 'fields' => 'ids', ]; /** * Disable Action Schedule Queue Runner, to prevent a fatal error on the shutdown WP hook. */ if ( class_exists( 'ActionScheduler_QueueRunner' ) ) { $as_queue_runner = \ActionScheduler_QueueRunner::instance(); if ( method_exists( $as_queue_runner, 'unhook_dispatch_async_request' ) ) { $as_queue_runner->unhook_dispatch_async_request(); } } // WP MS uninstall process. if ( is_multisite() ) { $main_site_settings = get_blog_option( get_main_site_id(), 'wp_mail_smtp', [] ); $network_wide = ! empty( $main_site_settings['general']['network_wide'] ); $network_uninstall = ! empty( $main_site_settings['general']['uninstall'] ); $sites = get_sites(); foreach ( $sites as $site ) { $settings = get_blog_option( $site->blog_id, 'wp_mail_smtp', [] ); // Confirm network site admin has decided to remove all data, otherwise skip. if ( ( $network_wide && ! $network_uninstall ) || ( ! $network_wide && empty( $settings['general']['uninstall'] ) ) ) { continue; } /* * Delete network site plugin options. */ foreach ( $options as $option ) { delete_blog_option( $site->blog_id, $option ); } // Switch to the current network site. switch_to_blog( $site->blog_id ); // Delete plugin settings. $wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE 'wp\_mail\_smtp%'" ); // phpcs:ignore WordPress.DB // Delete plugin user meta. $wpdb->query( "DELETE FROM {$wpdb->usermeta} WHERE meta_key LIKE 'wp\_mail\_smtp\_%'" ); // phpcs:ignore WordPress.DB // Remove any transients we've left behind. $wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE '\_transient\_wp\_mail\_smtp\_%'" ); // phpcs:ignore WordPress.DB $wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE '\_site\_transient\_wp\_mail\_smtp\_%'" ); // phpcs:ignore WordPress.DB $wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE '\_transient\_timeout\_wp\_mail\_smtp\_%'" ); // phpcs:ignore WordPress.DB $wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE '\_site\_transient\_timeout\_wp\_mail\_smtp\_%'" ); // phpcs:ignore WordPress.DB // Delete debug events table. $debug_events_table = \WPMailSMTP\Admin\DebugEvents\DebugEvents::get_table_name(); $wpdb->query( "DROP TABLE IF EXISTS $debug_events_table;" ); // phpcs:ignore WordPress.DB /* * Delete network site product announcements. */ $announcements = get_posts( $am_announcement_params ); if ( ! empty( $announcements ) ) { foreach ( $announcements as $announcement ) { wp_delete_post( $announcement, true ); } } /* * Cleanup network site data for Pro plugin only. */ if ( function_exists( 'wp_mail_smtp' ) && is_readable( wp_mail_smtp()->plugin_path . '/src/Pro/Pro.php' ) ) { // Delete logs table. $table = \WPMailSMTP\Pro\Emails\Logs\Logs::get_table_name(); $wpdb->query( "DROP TABLE IF EXISTS $table;" ); // phpcs:ignore WordPress.DB // Delete attachments tables. $attachment_files_table = \WPMailSMTP\Pro\Emails\Logs\Attachments\Attachments::get_attachment_files_table_name(); $wpdb->query( "DROP TABLE IF EXISTS $attachment_files_table;" ); // phpcs:ignore WordPress.DB $email_attachments_table = \WPMailSMTP\Pro\Emails\Logs\Attachments\Attachments::get_email_attachments_table_name(); $wpdb->query( "DROP TABLE IF EXISTS $email_attachments_table;" ); // phpcs:ignore WordPress.DB // Delete all attachments if any. ( new \WPMailSMTP\Pro\Emails\Logs\Attachments\Attachments() )->delete_all_attachments(); // Delete tracking tables. $tracking_events_table = \WPMailSMTP\Pro\Emails\Logs\Tracking\Tracking::get_events_table_name(); $wpdb->query( "DROP TABLE IF EXISTS $tracking_events_table;" ); // phpcs:ignore WordPress.DB $tracking_links_table = \WPMailSMTP\Pro\Emails\Logs\Tracking\Tracking::get_links_table_name(); $wpdb->query( "DROP TABLE IF EXISTS $tracking_links_table;" ); // phpcs:ignore WordPress.DB } /* * Drop all Action Scheduler data and unschedule all plugin ActionScheduler actions. */ ( new \WPMailSMTP\Tasks\Tasks() )->remove_all(); $meta_table = \WPMailSMTP\Tasks\Meta::get_table_name(); $wpdb->query( "DROP TABLE IF EXISTS $meta_table;" ); // phpcs:ignore WordPress.DB // Restore the current network site back to the original one. restore_current_blog(); } } else { // Non WP MS uninstall process (for normal WP installs). // Confirm user has decided to remove all data, otherwise stop. $settings = get_option( 'wp_mail_smtp', [] ); if ( empty( $settings['general']['uninstall'] ) ) { return; } /* * Delete plugin options. */ foreach ( $options as $option ) { delete_option( $option ); } // Delete plugin settings. $wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE 'wp\_mail\_smtp%'" ); // phpcs:ignore WordPress.DB // Delete plugin user meta. $wpdb->query( "DELETE FROM {$wpdb->usermeta} WHERE meta_key LIKE 'wp\_mail\_smtp\_%'" ); // phpcs:ignore WordPress.DB // Remove any transients we've left behind. $wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE '\_transient\_wp\_mail\_smtp\_%'" ); // phpcs:ignore WordPress.DB $wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE '\_site\_transient\_wp\_mail\_smtp\_%'" ); // phpcs:ignore WordPress.DB $wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE '\_transient\_timeout\_wp\_mail\_smtp\_%'" ); // phpcs:ignore WordPress.DB $wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE '\_site\_transient\_timeout\_wp\_mail\_smtp\_%'" ); // phpcs:ignore WordPress.DB // Delete debug events table. $debug_events_table = \WPMailSMTP\Admin\DebugEvents\DebugEvents::get_table_name(); $wpdb->query( "DROP TABLE IF EXISTS $debug_events_table;" ); // phpcs:ignore WordPress.DB /* * Remove product announcements. */ $announcements = get_posts( $am_announcement_params ); if ( ! empty( $announcements ) ) { foreach ( $announcements as $announcement ) { wp_delete_post( $announcement, true ); } } /* * Cleanup data for Pro plugin only. */ if ( function_exists( 'wp_mail_smtp' ) && is_readable( wp_mail_smtp()->plugin_path . '/src/Pro/Pro.php' ) ) { // Delete logs table. $table = \WPMailSMTP\Pro\Emails\Logs\Logs::get_table_name(); $wpdb->query( "DROP TABLE IF EXISTS $table;" ); // phpcs:ignore WordPress.DB // Delete attachments tables. $attachment_files_table = \WPMailSMTP\Pro\Emails\Logs\Attachments\Attachments::get_attachment_files_table_name(); $wpdb->query( "DROP TABLE IF EXISTS $attachment_files_table;" ); // phpcs:ignore WordPress.DB $email_attachments_table = \WPMailSMTP\Pro\Emails\Logs\Attachments\Attachments::get_email_attachments_table_name(); $wpdb->query( "DROP TABLE IF EXISTS $email_attachments_table;" ); // phpcs:ignore WordPress.DB // Delete all attachments if any. ( new \WPMailSMTP\Pro\Emails\Logs\Attachments\Attachments() )->delete_all_attachments(); // Delete tracking tables. $tracking_events_table = \WPMailSMTP\Pro\Emails\Logs\Tracking\Tracking::get_events_table_name(); $wpdb->query( "DROP TABLE IF EXISTS $tracking_events_table;" ); // phpcs:ignore WordPress.DB $tracking_links_table = \WPMailSMTP\Pro\Emails\Logs\Tracking\Tracking::get_links_table_name(); $wpdb->query( "DROP TABLE IF EXISTS $tracking_links_table;" ); // phpcs:ignore WordPress.DB } /* * Drop all Action Scheduler data and unschedule all plugin ActionScheduler actions. */ ( new \WPMailSMTP\Tasks\Tasks() )->remove_all(); $meta_table = \WPMailSMTP\Tasks\Meta::get_table_name(); $wpdb->query( "DROP TABLE IF EXISTS $meta_table;" ); // phpcs:ignore WordPress.DB }
Save