X7ROOT File Manager
Current Path:
/home/okeydcqc/pointecgroup.com/wp-content/plugins/really-simple-ssl
home
/
okeydcqc
/
pointecgroup.com
/
wp-content
/
plugins
/
really-simple-ssl
/
ðŸ“
..
ðŸ“
assets
📄
class-admin.php
(107.53 KB)
📄
class-cache.php
(3.22 KB)
📄
class-certificate.php
(7.39 KB)
📄
class-front-end.php
(2.04 KB)
📄
class-installer.php
(4.41 KB)
📄
class-mixed-content-fixer.php
(5.55 KB)
📄
class-multisite.php
(20.87 KB)
📄
class-server.php
(4.4 KB)
📄
class-site-health.php
(14.24 KB)
📄
class-wp-cli.php
(54.59 KB)
📄
compatibility.php
(2.14 KB)
📄
force-deactivate.txt
(3.78 KB)
📄
functions.php
(14.05 KB)
📄
index.php
(35 B)
ðŸ“
languages
ðŸ“
lets-encrypt
ðŸ“
lib
ðŸ“
mailer
ðŸ“
modal
ðŸ“
onboarding
ðŸ“
placeholders
ðŸ“
progress
📄
readme.txt
(29.77 KB)
📄
rector.php
(1.07 KB)
📄
rlrsssl-really-simple-ssl.php
(11.85 KB)
📄
rsssl-auto-loader.php
(1.88 KB)
ðŸ“
security
📄
security.md
(686 B)
ðŸ“
settings
📄
ssl-test-page.php
(1.9 KB)
📄
system-status.php
(17.13 KB)
ðŸ“
testssl
📄
uninstall.php
(5.84 KB)
ðŸ“
upgrade
📄
upgrade.php
(10.37 KB)
Editing: class-cache.php
<?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 }
Upload File
Create Folder