WP Encryption – One Click Free SSL Certificate & SSL / HTTPS Redirect to fix Insecure Content - Version 5.7.15

Version Description

Download this release

Release Info

Developer gowebsmarty
Plugin Icon wp plugin WP Encryption – One Click Free SSL Certificate & SSL / HTTPS Redirect to fix Insecure Content
Version 5.7.15
Comparing to
See all releases

Code changes from version 5.7.14 to 5.7.15

Files changed (3) hide show
  1. admin/le_admin.php +11 -44
  2. readme.txt +1 -1
  3. wp-letsencrypt.php +2 -2
admin/le_admin.php CHANGED
@@ -61,10 +61,9 @@ class WPLE_Admin
61
  if ( FALSE !== get_option( 'wple_show_reminder' ) ) {
62
  add_action( 'admin_notices', [ $this, 'wple_reminder_notice' ] );
63
  }
64
- if ( FALSE === get_option( 'wple_backup_suggested' ) ) {
65
- //since 5.7.14
66
- add_action( 'admin_notices', [ $this, 'wple_backup_suggestion' ] );
67
- }
68
  if ( FALSE !== get_option( 'wple_mixed_issues' ) ) {
69
  //since 5.3.12
70
  add_action( 'admin_notices', [ $this, 'wple_mixed_content_notice' ] );
@@ -80,7 +79,6 @@ class WPLE_Admin
80
  add_action( 'wp_ajax_wple_validate_ssl', [ $this, 'wple_validate_nocp_ssl' ] );
81
  add_action( 'wp_ajax_wple_getcert_for_copy', [ $this, 'wple_retrieve_certs_forcopy' ] );
82
  add_action( 'wp_ajax_wple_include_www', [ $this, 'wple_include_www_check' ] );
83
- add_action( 'wp_ajax_wple_backup_ignore', [ $this, 'wple_ignore_backup_suggest' ] );
84
  }
85
 
86
  /**
@@ -406,9 +404,16 @@ class WPLE_Admin
406
  ob_end_clean();
407
  $html .= '</div>';
408
  $prosupport = WPLE_Trait::wple_kses( sprintf( __( 'Brought to you by %sWP Encryption%s.' ), '<a href="https://wpencryption.com" target="_blank">', '</a>' ), 'a' );
 
 
 
 
 
 
409
  $html .= '
410
  <div class="le-powered">
411
- <span>' . $prosupport . ' ' . WPLE_Trait::wple_kses( sprintf( 'SSL Certificate will be generated by %s (An open certificate authority).', "<b>Let's Encrypt<sup style=\"font-size: 10px; padding: 3px\">TM</sup></b>" ) ) . '</span>
 
412
  </div>';
413
  $html .= '
414
  </div><!--wple-sslgen-->';
@@ -1947,43 +1952,5 @@ class WPLE_Admin
1947
  echo $errcode ;
1948
  exit;
1949
  }
1950
-
1951
- /**
1952
- * Backup recommendation
1953
- *
1954
- * @since 5.7.14
1955
- */
1956
- public function wple_backup_suggestion()
1957
- {
1958
- if ( FALSE === get_option( 'wple_plan_choose' ) ) {
1959
- return true;
1960
- }
1961
- if ( is_plugin_active( 'backup-bolt/backup-bolt.php' ) ) {
1962
- return true;
1963
- }
1964
- $action = 'install-plugin';
1965
- $slug = 'backup-bolt';
1966
- $pluginstallURL = wp_nonce_url( add_query_arg( array(
1967
- 'action' => $action,
1968
- 'plugin' => $slug,
1969
- ), admin_url( 'update.php' ) ), $action . '_' . $slug );
1970
- $html = '<div class="notice notice-info wple-admin-review wple-backup-suggestion">
1971
- <img src="' . WPLE_URL . 'admin/assets/symbol.png"/>
1972
- <p>Before installing SSL certificate or enforcing HTTPS, We HIGHLY recommend you backup your site using <b>"BACKUP BOLT"</b> WordPress plugin</p>
1973
- <a href="' . esc_url( $pluginstallURL ) . '" class="wple-backup-link wple-backup-install">Install & Activate Plugin</a>
1974
- <a href="#" class="wple-backup-link wple-backup-skip">Skip - I already have the backup</a>
1975
- </div>';
1976
- echo $html ;
1977
- }
1978
-
1979
- public function wple_ignore_backup_suggest()
1980
- {
1981
- if ( !current_user_can( 'manage_options' ) ) {
1982
- exit;
1983
- }
1984
- update_option( 'wple_backup_suggested', true );
1985
- echo 1 ;
1986
- exit;
1987
- }
1988
 
1989
  }
61
  if ( FALSE !== get_option( 'wple_show_reminder' ) ) {
62
  add_action( 'admin_notices', [ $this, 'wple_reminder_notice' ] );
63
  }
64
+ // if (FALSE === get_option('wple_backup_suggested')) { //since 5.7.14
65
+ // add_action('admin_notices', [$this, 'wple_backup_suggestion']);
66
+ // }
 
67
  if ( FALSE !== get_option( 'wple_mixed_issues' ) ) {
68
  //since 5.3.12
69
  add_action( 'admin_notices', [ $this, 'wple_mixed_content_notice' ] );
79
  add_action( 'wp_ajax_wple_validate_ssl', [ $this, 'wple_validate_nocp_ssl' ] );
80
  add_action( 'wp_ajax_wple_getcert_for_copy', [ $this, 'wple_retrieve_certs_forcopy' ] );
81
  add_action( 'wp_ajax_wple_include_www', [ $this, 'wple_include_www_check' ] );
 
82
  }
83
 
84
  /**
404
  ob_end_clean();
405
  $html .= '</div>';
406
  $prosupport = WPLE_Trait::wple_kses( sprintf( __( 'Brought to you by %sWP Encryption%s.' ), '<a href="https://wpencryption.com" target="_blank">', '</a>' ), 'a' );
407
+ $action = 'install-plugin';
408
+ $slug = 'backup-bolt';
409
+ $pluginstallURL = wp_nonce_url( add_query_arg( array(
410
+ 'action' => $action,
411
+ 'plugin' => $slug,
412
+ ), admin_url( 'update.php' ) ), $action . '_' . $slug );
413
  $html .= '
414
  <div class="le-powered">
415
+ <!--<span>' . $prosupport . ' ' . WPLE_Trait::wple_kses( sprintf( 'SSL Certificate will be generated by %s (An open certificate authority).', "<b>Let's Encrypt<sup style=\"font-size: 10px; padding: 3px\">TM</sup></b>" ) ) . '</span>-->
416
+ <span><strong>Recommended:-</strong> Before enforcing HTTPS, We highly recommend taking a backup of your site using some good backup plugin like <strong>"Backup Bolt"</strong> - <a href="' . $pluginstallURL . '" target="_blank">Install & Activate Backup Bolt</a></span>
417
  </div>';
418
  $html .= '
419
  </div><!--wple-sslgen-->';
1952
  echo $errcode ;
1953
  exit;
1954
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1955
 
1956
  }
readme.txt CHANGED
@@ -5,7 +5,7 @@ Requires at least: 4.2
5
  License: GPL3
6
  Tested up to: 5.9
7
  Requires PHP: 5.4
8
- Stable tag: 5.7.14
9
 
10
  SSL for lifetime - Install free SSL certificate & enable secure HTTPS padlock, secure mail w/ HTTPS, HTTPS redirect, fix SSL errors, SSL score, insecure content scanner, download SSL certificate, know your active SSL details.
11
 
5
  License: GPL3
6
  Tested up to: 5.9
7
  Requires PHP: 5.4
8
+ Stable tag: 5.7.15
9
 
10
  SSL for lifetime - Install free SSL certificate & enable secure HTTPS padlock, secure mail w/ HTTPS, HTTPS redirect, fix SSL errors, SSL score, insecure content scanner, download SSL certificate, know your active SSL details.
11
 
wp-letsencrypt.php CHANGED
@@ -7,7 +7,7 @@
7
  * Plugin Name: WP Encryption - One Click SSL & Force HTTPS
8
  * Plugin URI: https://wpencryption.com
9
  * Description: Secure your WordPress site with free SSL certificate and force HTTPS throughout the site. Just activating this plugin won't help! - Please run the SSL install form of WP Encryption found on left panel.
10
- * Version: 5.7.14
11
  * Author: Go Web Smarty
12
  * Author URI: https://wpencryption.com
13
  * License: GNU General Public License v3.0
@@ -33,7 +33,7 @@ if ( !defined( 'ABSPATH' ) ) {
33
  /**
34
  * Definitions
35
  */
36
- define( 'WPLE_PLUGIN_VERSION', '5.7.14' );
37
  define( 'WPLE_BASE', plugin_basename( __FILE__ ) );
38
  define( 'WPLE_DIR', plugin_dir_path( __FILE__ ) );
39
  define( 'WPLE_URL', plugin_dir_url( __FILE__ ) );
7
  * Plugin Name: WP Encryption - One Click SSL & Force HTTPS
8
  * Plugin URI: https://wpencryption.com
9
  * Description: Secure your WordPress site with free SSL certificate and force HTTPS throughout the site. Just activating this plugin won't help! - Please run the SSL install form of WP Encryption found on left panel.
10
+ * Version: 5.7.15
11
  * Author: Go Web Smarty
12
  * Author URI: https://wpencryption.com
13
  * License: GNU General Public License v3.0
33
  /**
34
  * Definitions
35
  */
36
+ define( 'WPLE_PLUGIN_VERSION', '5.7.15' );
37
  define( 'WPLE_BASE', plugin_basename( __FILE__ ) );
38
  define( 'WPLE_DIR', plugin_dir_path( __FILE__ ) );
39
  define( 'WPLE_URL', plugin_dir_url( __FILE__ ) );