HEX
Server: LiteSpeed
System: Linux lt-bnk-web1368.main-hosting.eu 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64
User: u362014288 (362014288)
PHP: 8.2.30
Disabled: system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: /home/u362014288/domains/estreladosol.com.br/public_html/wp-content/plugins/wpscan/uninstall.php
<?php

// If uninstall is not called from WordPress, exit.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
	exit();
}

if ( is_multisite() ) {
	global $wpdb;

	$blogs = $wpdb->get_results( "SELECT blog_id FROM {$wpdb->blogs}", ARRAY_A );
	if ( $blogs ) {
		foreach ( $blogs as $blog ) {
			switch_to_blog( $blog['blog_id'] );
			foreach ( wp_load_alloptions() as $option => $value ) {
				if ( strpos( $option, 'wpscan_' ) === 0 ) {
					delete_option( $option );
				}
			}
			$all_user_ids = get_users( 'fields=ID' );
			foreach ( $all_user_ids as $user_id ) {
				delete_user_meta( $user_id, 'protect_notice_dismissed' );
			}
		}
		restore_current_blog();
	}
} else {
	foreach ( wp_load_alloptions() as $option => $value ) {
		if ( strpos( $option, 'wpscan_' ) === 0 ) {
			delete_option( $option );
		}
	}
	$all_user_ids = get_users( 'fields=ID' );
	foreach ( $all_user_ids as $user_id ) {
		delete_user_meta( $user_id, 'protect_notice_dismissed' );
	}
}