/
home
/
techb158
/
l2hypotheques.com
/
wp-content
/
plugins
/
really-simple-ssl
/
/home/techb158/l2hypotheques.com/wp-content/plugins/really-simple-ssl
mkdir
upload
Name
Size
Mode
Actions
assets/
-
0755
rm
core/
-
0755
rm
languages/
-
0755
rm
lets-encrypt/
-
0755
rm
lib/
-
0755
rm
mailer/
-
0755
rm
modal/
-
0755
rm
placeholders/
-
0755
rm
progress/
-
0755
rm
security/
-
0755
rm
settings/
-
0755
rm
testssl/
-
0755
rm
upgrade/
-
0755
rm
.wp-env.json
469
0644
edit
dl
rm
class-admin.php
115193
0644
edit
dl
rm
class-cache.php
4044
0644
edit
dl
rm
class-certificate.php
7565
0644
edit
dl
rm
class-front-end.php
2084
0644
edit
dl
rm
class-installer.php
4574
0644
edit
dl
rm
class-mixed-content-fixer.php
5807
0644
edit
dl
rm
class-multisite.php
20208
0644
edit
dl
rm
class-server.php
4217
0644
edit
dl
rm
class-site-health.php
14578
0644
edit
dl
rm
class-wp-cli.php
65389
0644
edit
dl
rm
compatibility.php
2193
0644
edit
dl
rm
force-deactivate.txt
3869
0644
edit
dl
rm
functions.php
21184
0644
edit
dl
rm
index.php
35
0644
edit
dl
rm
readme.txt
31219
0644
edit
dl
rm
rector.php
1091
0644
edit
dl
rm
rlrsssl-really-simple-ssl.php
12942
0644
edit
dl
rm
rsssl-auto-loader.php
1925
0644
edit
dl
rm
sbom.json.gz
23030
0644
edit
dl
rm
SECURITY.md
1209
0644
edit
dl
rm
ssl-test-page.php
1950
0644
edit
dl
rm
system-status.php
17301
0644
edit
dl
rm
uninstall.php
6532
0644
edit
dl
rm
upgrade.php
12699
0644
edit
dl
rm
Edit:
/home/techb158/l2hypotheques.com/wp-content/plugins/really-simple-ssl/class-cache.php
(4044B)
<?php defined( 'ABSPATH' ) or die( ); if ( ! class_exists( 'rsssl_cache' ) ) { class rsssl_cache { private static $_this; public function __construct() { if ( isset( self::$_this ) ) { wp_die( 'you cannot create a second instance.' ); } self::$_this = $this; } public static function this() { return self::$_this; } /** * Flushes the cache for popular caching plugins to prevent mixed content errors * When .htaccess is changed, all traffic should flow over https, so clear cache when possible. * Supported: W3TC, WP Optimize, LiteSpeed, Hummingbird, WP Fastest Cache, * Autoptimize, WP Rocket, Cache Enabler, WP Super Cache, Cloudflare * * @since 2.0 * * @access public * */ public function flush() { if ( ! rsssl_user_can_manage() ) { return; } add_action( 'admin_head', array( $this, 'maybe_flush_w3tc_cache' ) ); add_action( 'admin_head', array( $this, 'maybe_flush_wp_optimize_cache' ) ); add_action( 'admin_head', array( $this, 'maybe_flush_litespeed_cache' ) ); add_action( 'admin_head', array( $this, 'maybe_flush_hummingbird_cache' ) ); add_action( 'admin_head', array( $this, 'maybe_flush_fastest_cache' ) ); add_action( 'admin_head', array( $this, 'maybe_flush_autoptimize_cache' ) ); add_action( 'admin_head', array( $this, 'maybe_flush_wp_rocket' ) ); add_action( 'admin_head', array( $this, 'maybe_flush_cache_enabler' ) ); add_action( 'admin_head', array( $this, 'maybe_flush_wp_super_cache' ) ); add_action( 'admin_head', array( $this, 'maybe_flush_cloudflare_cache' ) ); } public function maybe_flush_w3tc_cache() { if ( ! rsssl_user_can_manage() ) { return; } if ( function_exists( 'w3tc_flush_all' ) ) { w3tc_flush_all(); } } public function maybe_flush_wp_optimize_cache() { if ( ! rsssl_user_can_manage() ) { return; } if ( function_exists( 'wpo_cache_flush' ) ) { wpo_cache_flush(); } } public function maybe_flush_litespeed_cache() { if ( ! rsssl_user_can_manage() ) { return; } if ( class_exists( 'LiteSpeed' ) ) { Litespeed\Purge::purge_all(); } } public function maybe_flush_hummingbird_cache() { if ( ! rsssl_user_can_manage() ) { return; } if ( is_callable( array( 'Hummingbird\WP_Hummingbird', 'flush_cache' ) ) ) { Hummingbird\WP_Hummingbird::flush_cache(); } } public function maybe_flush_fastest_cache() { if ( ! rsssl_user_can_manage() ) { return; } if ( class_exists( 'WpFastestCache' ) ) { // Non-static cannot be called statically :: ( new WpFastestCache() )->deleteCache(); } } public function maybe_flush_autoptimize_cache() { if ( ! rsssl_user_can_manage() ) { return; } if ( class_exists( 'autoptimizeCache' ) ) { autoptimizeCache::clearall(); } } public function maybe_flush_wp_rocket() { if ( ! rsssl_user_can_manage() ) { return; } if ( function_exists( 'rocket_clean_domain' ) ) { rocket_clean_domain(); } } public function maybe_flush_cache_enabler() { if ( ! rsssl_user_can_manage() ) { return; } if ( class_exists( 'Cache_Enabler' ) ) { Cache_Enabler::clear_complete_cache(); } } public function maybe_flush_wp_super_cache() { if ( ! rsssl_user_can_manage() ) { return; } if ( function_exists( 'wp_cache_clear_cache' ) ) { wp_cache_clear_cache(); } } /** * Flush Cloudflare cache if the Cloudflare plugin is active. * * @see https://github.com/cloudflare/Cloudflare-WordPress */ public function maybe_flush_cloudflare_cache() { if ( ! rsssl_user_can_manage() ) { return; } if ( defined( 'CLOUDFLARE_PLUGIN_DIR' ) && class_exists( '\Cloudflare\APO\WordPress\Hooks' ) ) { try { $cloudflare_hooks = new \Cloudflare\APO\WordPress\Hooks(); $cloudflare_hooks->purgeCacheEverything(); } catch ( \Throwable $e ) { // Silently fail if Cloudflare API is not configured. } } } }//class closure }
Save
cmd:
run