Priority File Manager
📁 public_html
Base Directory:
/home/ecedu/public_html
/home/ecedu/public_html/wp-content/plugins
/home/ecedu/public_html/wp-content
/home/ecedu
/var/www
/var/www/cgi-bin
/var/www/html
public_html
/
wp-content
/
plugins
/
really-simple-ssl
/home/ecedu/public_html/wp-content/plugins/really-simple-ssl
Name
Type
Size
Actions
📁
..
Folder
-
Delete
Rename
📄
.wp-env.json
File
469
Delete
Rename
Edit
Download
📄
SECURITY.md
File
1209
Delete
Rename
Edit
Download
📁
assets
Folder
-
Delete
Rename
📄
class-admin.php
File
110001
Delete
Rename
Edit
Download
📄
class-cache.php
File
3300
Delete
Rename
Edit
Download
📄
class-certificate.php
File
7565
Delete
Rename
Edit
Download
📄
class-front-end.php
File
2091
Delete
Rename
Edit
Download
📄
class-installer.php
File
4574
Delete
Rename
Edit
Download
📄
class-mixed-content-fixer.php
File
5681
Delete
Rename
Edit
Download
📄
class-multisite.php
File
21373
Delete
Rename
Edit
Download
📄
class-really-simple-ssl.php
File
26358
Delete
Rename
Edit
Download
📄
class-server.php
File
4547
Delete
Rename
Edit
Download
📄
class-site-health.php
File
14578
Delete
Rename
Edit
Download
📄
class-wp-cli.php
File
56067
Delete
Rename
Edit
Download
📄
compatibility.php
File
2193
Delete
Rename
Edit
Download
📄
force-deactivate.txt
File
3869
Delete
Rename
Edit
Download
📄
functions.php
File
20782
Delete
Rename
Edit
Download
📄
index.php
File
35
Delete
Rename
Edit
Download
📁
languages
Folder
-
Delete
Rename
📁
lets-encrypt
Folder
-
Delete
Rename
📁
lib
Folder
-
Delete
Rename
📁
mailer
Folder
-
Delete
Rename
📁
modal
Folder
-
Delete
Rename
📁
onboarding
Folder
-
Delete
Rename
📁
placeholders
Folder
-
Delete
Rename
📁
progress
Folder
-
Delete
Rename
📄
readme.txt
File
33148
Delete
Rename
Edit
Download
📄
rector.php
File
1091
Delete
Rename
Edit
Download
📄
rlrsssl-really-simple-ssl.php
File
12565
Delete
Rename
Edit
Download
📄
rsssl-auto-loader.php
File
1925
Delete
Rename
Edit
Download
📄
sbom.json.gz
File
23020
Delete
Rename
Edit
Download
📁
security
Folder
-
Delete
Rename
📁
settings
Folder
-
Delete
Rename
📄
ssl-test-page.php
File
1950
Delete
Rename
Edit
Download
📄
system-status.php
File
17301
Delete
Rename
Edit
Download
📁
testssl
Folder
-
Delete
Rename
📄
uninstall.php
File
6092
Delete
Rename
Edit
Download
📁
upgrade
Folder
-
Delete
Rename
📄
upgrade.php
File
11673
Delete
Rename
Edit
Download
Upload
Create Folder
📝 Editing:
class-cache.php
Size: 3,300 bytes
Lines: 138
Type: .php
💾 Save
Cancel
✕
<?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 fastest Cache, Zen Cache, wp_rocket * * @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' ) ); } 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(); } } }//class closure }
✅ File saved successfully!