$99 GRAYBYTE WORDPRESS FILE MANAGER $34

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/var/softaculous/sitepad/editor/site-data/plugins/speedycache/main/

HOME
Current File : /var/softaculous/sitepad/editor/site-data/plugins/speedycache/main//promo.php
<?php

namespace SpeedyCache;

if(!defined('ABSPATH')){
	die('HACKING ATTEMPT!');
}

class Promo{
	static function update_notice(){
		if(defined('SOFTACULOUS_PLUGIN_UPDATE_NOTICE')){
			return;
		}

		$to_update_plugins = apply_filters('softaculous_plugin_update_notice', []);

		if(empty($to_update_plugins)){
			return;
		}

		/* translators: %1$s is replaced with a "string" of name of plugins, and %2$s is replaced with "string" which can be "is" or "are" based on the count of the plugin */
		$msg = sprintf(__('New versions of %1$s %2$s available. Updating ensures better performance, security, and access to the latest features.', 'speedycache'), '<b>'.esc_html(implode(', ', $to_update_plugins)).'</b>', (count($to_update_plugins) > 1 ? 'are' : 'is')) . ' <a class="button button-primary" href='.esc_url(admin_url('plugins.php?plugin_status=upgrade')).'>Update Now</a>';

		define('SOFTACULOUS_PLUGIN_UPDATE_NOTICE', true); // To make sure other plugins don't return a Notice
		echo '<div class="notice notice-info is-dismissible" id="speedycache-plugin-update-notice">
			<p>'.$msg. '</p>
		</div>';

		wp_register_script('speedycache-update-notice', '', ['jquery'], '', true);
		wp_enqueue_script('speedycache-update-notice');
		wp_add_inline_script('speedycache-update-notice', 'jQuery("#speedycache-plugin-update-notice").on("click", function(e){
			let target = jQuery(e.target);

			if(!target.hasClass("notice-dismiss")){
				return;
			}

			var data;
			
			// Hide it
			jQuery("#speedycache-plugin-update-notice").hide();
			
			// Save this preference
			jQuery.post("'.admin_url('admin-ajax.php?action=speedycache_close_update_notice').'&security='.wp_create_nonce('speedycache_promo_nonce').'", data, function(response) {
				//alert(response);
			});
		});');
	}
	
}


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Feb 2026 2.55 AM
root / root
0755
admin.php
8.621 KB
18 Feb 2026 11.32 PM
root / root
0644
advanced-cache.php
6.473 KB
18 Feb 2026 11.32 PM
root / root
0644
ajax.php
30.265 KB
18 Feb 2026 11.32 PM
root / root
0644
cache.php
15.153 KB
18 Feb 2026 11.32 PM
root / root
0644
cdn.php
8.657 KB
18 Feb 2026 11.32 PM
root / root
0644
css.php
6.215 KB
18 Feb 2026 11.32 PM
root / root
0644
delete.php
13.591 KB
18 Feb 2026 11.32 PM
root / root
0644
gravatar.php
3.119 KB
18 Feb 2026 11.32 PM
root / root
0644
htaccess.php
8.462 KB
18 Feb 2026 11.32 PM
root / root
0644
install.php
4.606 KB
18 Feb 2026 11.32 PM
root / root
0644
js.php
5.871 KB
18 Feb 2026 11.32 PM
root / root
0644
preload.php
3.368 KB
18 Feb 2026 11.32 PM
root / root
0644
promo.php
1.795 KB
18 Feb 2026 11.32 PM
root / root
0644
settings.php
101.845 KB
18 Feb 2026 11.32 PM
root / root
0644
util.php
8.887 KB
18 Feb 2026 11.32 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF