Really Simple SSL - Version 3.3.2

Version Description

  • Added a notice when using Divi theme with a link to knowledge base instructions
  • Fixed a CSS issue where the active tab in setting didn't have an active color
  • Added an additional option to dismiss the review notice
  • Removed review notice capability check
  • Fixed a bug on multisite where a plusone was shown when it should only shown on non-multisite
  • Added prefix to uses_elementor() function and added checks if function_exists
Download this release

Release Info

Developer RogierLankhorst
Plugin Icon 128x128 Really Simple SSL
Version 3.3.2
Comparing to
See all releases

Code changes from version 3.3.1 to 3.3.2

Files changed (5) hide show
  1. class-admin.php +245 -143
  2. css/main.css +4 -0
  3. css/main.min.css +1 -1
  4. readme.txt +9 -1
  5. rlrsssl-really-simple-ssl.php +1 -1
class-admin.php CHANGED
@@ -33,6 +33,7 @@ class rsssl_admin extends rsssl_front_end
33
  public $htaccess_redirect = FALSE;
34
  public $htaccess_warning_shown = FALSE;
35
  public $review_notice_shown = FALSE;
 
36
  public $ssl_success_message_shown = FALSE;
37
  public $hsts = FALSE;
38
  public $debug = TRUE;
@@ -600,6 +601,7 @@ class rsssl_admin extends rsssl_front_end
600
  $this->switch_mixed_content_fixer_hook = isset($options['switch_mixed_content_fixer_hook']) ? $options['switch_mixed_content_fixer_hook'] : FALSE;
601
  $this->dismiss_all_notices = isset($options['dismiss_all_notices']) ? $options['dismiss_all_notices'] : FALSE;
602
  $this->debug_log = isset($options['debug_log']) ? $options['debug_log'] : $this->debug_log;
 
603
  }
604
 
605
  if (is_multisite()) {
@@ -1209,6 +1211,7 @@ class rsssl_admin extends rsssl_front_end
1209
  'wp_redirect' => $this->wp_redirect,
1210
  'switch_mixed_content_fixer_hook' => $this->switch_mixed_content_fixer_hook,
1211
  'dismiss_all_notices' => $this->dismiss_all_notices,
 
1212
 
1213
  );
1214
  update_option('rlrsssl_options', $options);
@@ -1255,6 +1258,7 @@ class rsssl_admin extends rsssl_front_end
1255
  $this->ssl_enabled = FALSE;
1256
  $this->switch_mixed_content_fixer_hook = FALSE;
1257
  $this->dismiss_all_notices = FALSE;
 
1258
 
1259
 
1260
  $this->save_options();
@@ -2107,6 +2111,7 @@ class rsssl_admin extends rsssl_front_end
2107
  }
2108
 
2109
  if (!$this->review_notice_shown && get_option('rsssl_activation_timestamp') && get_option('rsssl_activation_timestamp') < strtotime("-1 month")) {
 
2110
  add_action('admin_print_footer_scripts', array($this, 'insert_dismiss_review'));
2111
  ?>
2112
  <style>
@@ -2223,7 +2228,7 @@ class rsssl_admin extends rsssl_front_end
2223
  <?php _e("More info", "really-simple-ssl"); ?></a>
2224
  </li>
2225
 
2226
- <?php if (uses_elementor()) {
2227
  ?>
2228
  <li class="message-li"><?php _e("We have detected Elementor.", "really-simple-ssl");?>
2229
  <a target="_blank"
@@ -2472,10 +2477,6 @@ class rsssl_admin extends rsssl_front_end
2472
 
2473
  public function dismiss_review_notice_callback()
2474
  {
2475
- if (!current_user_can($this->capability) ) return;
2476
-
2477
- check_ajax_referer('really-simple-ssl', 'security');
2478
-
2479
  $type = isset($_POST['type']) ? $_POST['type'] : false;
2480
 
2481
  if ($type === 'dismiss'){
@@ -2767,7 +2768,7 @@ class rsssl_admin extends rsssl_front_end
2767
  ),
2768
 
2769
  'elementor' => array(
2770
- 'condition' => array('uses_elementor' , 'ssl_activation_time_no_longer_then_3_days_ago'),
2771
  'callback' => 'rsssl_elementor_notice',
2772
  'output' => array(
2773
  'elementor-notice' => array(
@@ -2780,6 +2781,20 @@ class rsssl_admin extends rsssl_front_end
2780
  ),
2781
  ),
2782
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2783
  'hsts_enabled' => array(
2784
  'condition' => array('rsssl_no_multisite'),
2785
  'callback' => 'rsssl_hsts_enabled',
@@ -2910,46 +2925,59 @@ class rsssl_admin extends rsssl_front_end
2910
  * @since 3.2
2911
  */
2912
 
2913
- public function count_plusones(){
2914
- if (!current_user_can('manage_options')) return 0;
2915
- $count = get_transient('rsssl_plusone_count');
2916
- if ($count===FALSE) {
2917
- $count = 0;
2918
-
2919
- $options = get_option('rlrsssl_options');
2920
-
2921
- $notices = $this->get_notices_list();
2922
- foreach ($notices as $id => $notice) {
2923
-
2924
- if (get_option("rsssl_".$id."_dismissed")) continue;
2925
-
2926
- $condition_functions = $notice['condition'];
2927
- foreach ($condition_functions as $func) {
2928
- $condition = $func();
2929
- if (!$condition) continue;
2930
- }
2931
-
2932
- $func = $notice['callback'];
2933
- $output = $func();
2934
- $success = (isset($notice['output'][$output]['icon']) && ($notice['output'][$output]['icon'] === 'success')) ? true : false;
2935
-
2936
- if ( (isset($notice['output'][$output]['dismissible']) && $notice['output'][$output]['dismissible'] && ($options['dismiss_all_notices'] !== false) ) ) {
2937
- update_option('rsssl_'.$id.'_dismissed', true);
2938
- continue;
2939
- }
2940
-
2941
- //&& notice not dismissed
2942
- if (!$success && isset($notice['output'][$output]['plusone']) && $notice['output'][$output]['plusone']) {
2943
- $count++;
2944
- }
2945
- }
2946
- set_transient('rsssl_plusone_count', $count, 'WEEK_IN_SECONDS');
2947
- }
2948
-
2949
- return $count;
2950
-
2951
- }
2952
-
 
 
 
 
 
 
 
 
 
 
 
 
 
2953
 
2954
  /**
2955
  * Build the settings page
@@ -3341,6 +3369,12 @@ class rsssl_admin extends rsssl_front_end
3341
  }
3342
 
3343
  register_setting('rlrsssl_options', 'rlrsssl_options', array($this, 'options_validate'));
 
 
 
 
 
 
3344
  add_settings_section('rlrsssl_settings', __("Settings", "really-simple-ssl"), array($this, 'section_text'), 'rlrsssl');
3345
  add_settings_field('id_autoreplace_insecure_links', __("Mixed content fixer", "really-simple-ssl"), array($this, 'get_option_autoreplace_insecure_links'), 'rlrsssl', 'rlrsssl_settings');
3346
 
@@ -3405,6 +3439,7 @@ class rsssl_admin extends rsssl_front_end
3405
  $newinput['plugin_db_version'] = $this->plugin_db_version;
3406
  $newinput['ssl_enabled'] = $this->ssl_enabled;
3407
  $newinput['debug_log'] = $this->debug_log;
 
3408
 
3409
  if (!empty($input['hsts']) && $input['hsts'] == '1') {
3410
  $newinput['hsts'] = TRUE;
@@ -3455,6 +3490,12 @@ class rsssl_admin extends rsssl_front_end
3455
  $newinput['dismiss_all_notices'] = FALSE;
3456
  }
3457
 
 
 
 
 
 
 
3458
  if (!empty($input['htaccess_redirect']) && $input['htaccess_redirect'] == '1') {
3459
  $newinput['htaccess_redirect'] = TRUE;
3460
  } else {
@@ -3752,6 +3793,21 @@ class rsssl_admin extends rsssl_front_end
3752
 
3753
  }
3754
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3755
  /**
3756
  *
3757
  * Mixed content fixer option
@@ -4043,136 +4099,182 @@ class rsssl_admin extends rsssl_front_end
4043
  * @return string
4044
  */
4045
 
4046
- function rsssl_mixed_content_fixer_detected(){
4047
- return RSSSL()->really_simple_ssl->mixed_content_fixer_detected();
 
 
4048
  }
4049
 
4050
- function rsssl_site_has_ssl(){
4051
- return RSSSL()->really_simple_ssl->site_has_ssl;
 
 
4052
  }
4053
 
4054
- function rsssl_autoreplace_insecure_links(){
4055
- return RSSSL()->really_simple_ssl->autoreplace_insecure_links;
 
 
4056
  }
4057
 
4058
- function rsssl_ssl_enabled(){
4059
- if (RSSSL()->really_simple_ssl->ssl_enabled) {
4060
- return 'ssl-enabled';
4061
- } else {
4062
- return 'ssl-not-enabled';
4063
- }
 
 
4064
  }
4065
 
4066
- function rsssl_ssl_detected(){
4067
- if (!RSSSL()->really_simple_ssl->wpconfig_ok()) {
4068
- return 'fail';
4069
- }
4070
- if (!RSSSL()->really_simple_ssl->site_has_ssl) {
4071
- return 'no-ssl-detected';
 
 
 
 
 
 
 
4072
  }
4073
- if (RSSSL()->rsssl_certificate->is_valid()) {
4074
- return 'ssl-detected';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4075
  }
 
4076
 
4077
- return false;
 
 
 
 
 
 
 
4078
  }
4079
 
4080
- function rsssl_check_redirect(){
4081
- if (!RSSSL()->really_simple_ssl->has_301_redirect()) {
4082
- return 'no-redirect-set';
4083
- }
4084
- if (RSSSL()->really_simple_ssl->has_301_redirect() && RSSSL()->rsssl_server->uses_htaccess() && RSSSL()->really_simple_ssl->htaccess_contains_redirect_rules()) {
4085
- return 'htaccess-redirect-set';
4086
- }
4087
- if (RSSSL()->really_simple_ssl->has_301_redirect() && RSSSL()->really_simple_ssl->wp_redirect && RSSSL()->rsssl_server->uses_htaccess() && !RSSSL()->really_simple_ssl->htaccess_redirect) {
4088
- return 'wp-redirect-to-htaccess';
4089
- }
4090
- if (RSSSL()->rsssl_server->uses_htaccess() && (!is_multisite() || !RSSSL()->rsssl_multisite->is_per_site_activated_multisite_subfolder_install())) {
4091
- if (!is_writable(RSSSL()->really_simple_ssl->htaccess_file())) {
4092
- return 'htaccess-not-writeable';
4093
- } else {
4094
- return 'htaccess-cannot-be-set';
4095
- }
4096
- } else {
4097
- return 'default';
4098
- }
4099
  }
4100
 
4101
- function rsssl_hsts_enabled()
4102
- {
4103
- if (RSSSL()->really_simple_ssl->contains_hsts()) {
4104
- return 'contains-hsts';
4105
- } else {
4106
- return 'no-hsts';
4107
- }
4108
  }
4109
 
4110
- function rsssl_secure_cookies_set()
4111
- {
4112
- if (RSSSL()->really_simple_ssl->contains_secure_cookie_settings()) {
4113
- return 'set';
4114
- } else {
4115
- return 'not-set';
4116
- }
4117
  }
4118
 
4119
- function rsssl_scan_upsell()
4120
- {
4121
- return 'upsell';
 
 
 
 
 
 
4122
  }
4123
 
4124
- function rsssl_htaccess_redirect_allowed()
4125
- {
4126
- return RSSSL()->really_simple_ssl->htaccess_redirect_allowed();
 
 
 
 
 
4127
  }
4128
 
4129
- function uses_elementor()
4130
- {
4131
- if (defined('ELEMENTOR_VERSION') || defined('ELEMENTOR_PRO_VERSION')) {
4132
- return true;
4133
- } else {
4134
- return false;
4135
- }
 
4136
  }
4137
 
4138
- function ssl_activation_time_no_longer_then_3_days_ago()
4139
- {
4140
 
4141
- $activation_time = get_option('rsssl_activation_timestamp');
4142
- $three_days_after_activation = $activation_time + 3 * DAY_IN_SECONDS;
4143
 
4144
- if (time() < $three_days_after_activation) {
4145
- return true;
4146
- } else {
4147
- return false;
4148
- }
 
4149
  }
4150
 
4151
- function rsssl_elementor_notice()
4152
- {
4153
- return 'elementor-notice';
 
4154
  }
4155
 
4156
- function rsssl_wp_redirect_condition() {
4157
- if (RSSSL()->really_simple_ssl->has_301_redirect() && RSSSL()->really_simple_ssl->wp_redirect && !RSSSL()->really_simple_ssl->htaccess_redirect) {
4158
- return true;
4159
- } else {
4160
- return false;
4161
- }
 
 
4162
  }
4163
 
4164
- function rsssl_wordpress_redirect() {
4165
- if (RSSSL()->really_simple_ssl->has_301_redirect() && RSSSL()->really_simple_ssl->wp_redirect) {
4166
- return '301-wp-redirect';
4167
- } else {
4168
- return 'no-redirect';
4169
- }
 
 
4170
  }
4171
 
4172
- function rsssl_no_multisite(){
4173
- if (!is_multisite()) {
4174
- return true;
4175
- } else {
4176
- return false;
4177
- }
 
 
4178
  }
33
  public $htaccess_redirect = FALSE;
34
  public $htaccess_warning_shown = FALSE;
35
  public $review_notice_shown = FALSE;
36
+ public $dismiss_review_notice = FALSE;
37
  public $ssl_success_message_shown = FALSE;
38
  public $hsts = FALSE;
39
  public $debug = TRUE;
601
  $this->switch_mixed_content_fixer_hook = isset($options['switch_mixed_content_fixer_hook']) ? $options['switch_mixed_content_fixer_hook'] : FALSE;
602
  $this->dismiss_all_notices = isset($options['dismiss_all_notices']) ? $options['dismiss_all_notices'] : FALSE;
603
  $this->debug_log = isset($options['debug_log']) ? $options['debug_log'] : $this->debug_log;
604
+ $this->dismiss_review_notice = isset($options['dismiss_review_notice']) ? $options['dismiss_review_notice'] : $this->dismiss_review_notice;
605
  }
606
 
607
  if (is_multisite()) {
1211
  'wp_redirect' => $this->wp_redirect,
1212
  'switch_mixed_content_fixer_hook' => $this->switch_mixed_content_fixer_hook,
1213
  'dismiss_all_notices' => $this->dismiss_all_notices,
1214
+ 'dismiss_review_notice' => $this->dismiss_review_notice,
1215
 
1216
  );
1217
  update_option('rlrsssl_options', $options);
1258
  $this->ssl_enabled = FALSE;
1259
  $this->switch_mixed_content_fixer_hook = FALSE;
1260
  $this->dismiss_all_notices = FALSE;
1261
+ $this->dismiss_review_notice = FALSE;
1262
 
1263
 
1264
  $this->save_options();
2111
  }
2112
 
2113
  if (!$this->review_notice_shown && get_option('rsssl_activation_timestamp') && get_option('rsssl_activation_timestamp') < strtotime("-1 month")) {
2114
+ if ($this->dismiss_review_notice) return;
2115
  add_action('admin_print_footer_scripts', array($this, 'insert_dismiss_review'));
2116
  ?>
2117
  <style>
2228
  <?php _e("More info", "really-simple-ssl"); ?></a>
2229
  </li>
2230
 
2231
+ <?php if (rsssl_uses_elementor()) {
2232
  ?>
2233
  <li class="message-li"><?php _e("We have detected Elementor.", "really-simple-ssl");?>
2234
  <a target="_blank"
2477
 
2478
  public function dismiss_review_notice_callback()
2479
  {
 
 
 
 
2480
  $type = isset($_POST['type']) ? $_POST['type'] : false;
2481
 
2482
  if ($type === 'dismiss'){
2768
  ),
2769
 
2770
  'elementor' => array(
2771
+ 'condition' => array('rsssl_uses_elementor' , 'rsssl_ssl_activation_time_no_longer_then_3_days_ago'),
2772
  'callback' => 'rsssl_elementor_notice',
2773
  'output' => array(
2774
  'elementor-notice' => array(
2781
  ),
2782
  ),
2783
 
2784
+ 'divi' => array(
2785
+ 'condition' => array('rsssl_uses_divi' , 'rsssl_ssl_activation_time_no_longer_then_3_days_ago'),
2786
+ 'callback' => 'rsssl_elementor_notice',
2787
+ 'output' => array(
2788
+ 'elementor-notice' => array(
2789
+ 'msg' => sprintf(__("Your site uses Divi. This can require some additional steps before getting the secure lock. %sSee our guide for detailed instructions%s ", "really-simple-ssl"), '<a target="_blank" href="https://really-simple-ssl.com/knowledge-base/mixed-content-when-using-divi-theme/">', '</a>')
2790
+ . __("or", "really-simple-ssl")
2791
+ . "<span class='rsssl-dashboard-dismiss' data-dismiss_type='divi'><a href='#' class='rsssl-dismiss-text rsssl-close-warning'>$dismiss</a></span>",
2792
+ 'icon' => 'warning',
2793
+ 'dismissible' => true
2794
+ ),
2795
+ ),
2796
+ ),
2797
+
2798
  'hsts_enabled' => array(
2799
  'condition' => array('rsssl_no_multisite'),
2800
  'callback' => 'rsssl_hsts_enabled',
2925
  * @since 3.2
2926
  */
2927
 
2928
+ public function count_plusones() {
2929
+ if ( ! current_user_can( 'manage_options' ) ) {
2930
+ return 0;
2931
+ }
2932
+ $count = get_transient( 'rsssl_plusone_count' );
2933
+ if ( $count === false ) {
2934
+ $count = 0;
2935
+
2936
+ $options = get_option( 'rlrsssl_options' );
2937
+
2938
+ $notices = $this->get_notices_list();
2939
+ foreach ( $notices as $id => $notice ) {
2940
+ $condition = true;
2941
+ if ( get_option( "rsssl_" . $id . "_dismissed" ) ) {
2942
+ continue;
2943
+ }
2944
+
2945
+ $condition_functions = $notice['condition'];
2946
+ foreach ( $condition_functions as $func ) {
2947
+ $condition = $func();
2948
+ if ( ! $condition ) {
2949
+ break;
2950
+ }
2951
+ }
2952
+
2953
+ if ( $condition ) {
2954
+ $func = $notice['callback'];
2955
+ $output = $func();
2956
+ $success = ( isset( $notice['output'][ $output ]['icon'] )
2957
+ && ( $notice['output'][ $output ]['icon']
2958
+ === 'success' ) ) ? true : false;
2959
+
2960
+ if ( ( isset( $notice['output'][ $output ]['dismissible'] )
2961
+ && $notice['output'][ $output ]['dismissible']
2962
+ && ( $options['dismiss_all_notices'] !== false ) )
2963
+ ) {
2964
+ update_option( 'rsssl_' . $id . '_dismissed', true );
2965
+ continue;
2966
+ }
2967
+
2968
+ //&& notice not dismissed
2969
+ if ( ! $success
2970
+ && isset( $notice['output'][ $output ]['plusone'] )
2971
+ && $notice['output'][ $output ]['plusone']
2972
+ ) {
2973
+ $count ++;
2974
+ }
2975
+ }
2976
+ }
2977
+ set_transient( 'rsssl_plusone_count', $count, 'WEEK_IN_SECONDS' );
2978
+ }
2979
+ return $count;
2980
+ }
2981
 
2982
  /**
2983
  * Build the settings page
3369
  }
3370
 
3371
  register_setting('rlrsssl_options', 'rlrsssl_options', array($this, 'options_validate'));
3372
+
3373
+ // Show a dismiss review
3374
+ if (!$this->dismiss_review_notice && !$this->review_notice_shown && get_option('rsssl_activation_timestamp') && get_option('rsssl_activation_timestamp') < strtotime("-1 month")) {
3375
+ add_settings_field('id_dismiss_review_notice', __("Dismiss review notice", "really-simple-ssl"), array($this, 'get_option_dismiss_review_notice'), 'rlrsssl', 'rlrsssl_settings');
3376
+ }
3377
+
3378
  add_settings_section('rlrsssl_settings', __("Settings", "really-simple-ssl"), array($this, 'section_text'), 'rlrsssl');
3379
  add_settings_field('id_autoreplace_insecure_links', __("Mixed content fixer", "really-simple-ssl"), array($this, 'get_option_autoreplace_insecure_links'), 'rlrsssl', 'rlrsssl_settings');
3380
 
3439
  $newinput['plugin_db_version'] = $this->plugin_db_version;
3440
  $newinput['ssl_enabled'] = $this->ssl_enabled;
3441
  $newinput['debug_log'] = $this->debug_log;
3442
+ $newinput['dismiss_review_notice'] = $this->dismiss_review_notice;
3443
 
3444
  if (!empty($input['hsts']) && $input['hsts'] == '1') {
3445
  $newinput['hsts'] = TRUE;
3490
  $newinput['dismiss_all_notices'] = FALSE;
3491
  }
3492
 
3493
+ if (!empty($input['dismiss_review_notice']) && $input['dismiss_review_notice'] == '1') {
3494
+ $newinput['dismiss_review_notice'] = TRUE;
3495
+ } else {
3496
+ $newinput['dismiss_review_notice'] = FALSE;
3497
+ }
3498
+
3499
  if (!empty($input['htaccess_redirect']) && $input['htaccess_redirect'] == '1') {
3500
  $newinput['htaccess_redirect'] = TRUE;
3501
  } else {
3793
 
3794
  }
3795
 
3796
+ /**
3797
+ * Since 3.3.2
3798
+ */
3799
+
3800
+ public function get_option_dismiss_review_notice() {
3801
+ ?>
3802
+ <label class="rsssl-switch">
3803
+ <input id="rlrsssl_options" name="rlrsssl_options[dismiss_review_notice]" size="40" value="1"
3804
+ type="checkbox" <?php checked(1, $this->dismiss_review_notice, true) ?> />
3805
+ <span class="rsssl-slider rsssl-round"></span>
3806
+ </label>
3807
+ <?php
3808
+ RSSSL()->rsssl_help->get_help_tip(__("Enable this option to dismiss the review notice.", "really-simple-ssl"));
3809
+ }
3810
+
3811
  /**
3812
  *
3813
  * Mixed content fixer option
4099
  * @return string
4100
  */
4101
 
4102
+ if (!function_exists('rsssl_mixed_content_fixer_detected')) {
4103
+ function rsssl_mixed_content_fixer_detected() {
4104
+ return RSSSL()->really_simple_ssl->mixed_content_fixer_detected();
4105
+ }
4106
  }
4107
 
4108
+ if (!function_exists('rsssl_site_has_ssl')) {
4109
+ function rsssl_site_has_ssl() {
4110
+ return RSSSL()->really_simple_ssl->site_has_ssl;
4111
+ }
4112
  }
4113
 
4114
+ if (!function_exists('rsssl_autoreplace_insecure_links')) {
4115
+ function rsssl_autoreplace_insecure_links() {
4116
+ return RSSSL()->really_simple_ssl->autoreplace_insecure_links;
4117
+ }
4118
  }
4119
 
4120
+ if (!function_exists('rsssl_ssl_enabled')) {
4121
+ function rsssl_ssl_enabled() {
4122
+ if ( RSSSL()->really_simple_ssl->ssl_enabled ) {
4123
+ return 'ssl-enabled';
4124
+ } else {
4125
+ return 'ssl-not-enabled';
4126
+ }
4127
+ }
4128
  }
4129
 
4130
+ if (!function_exists('rsssl_ssl_detected')) {
4131
+ function rsssl_ssl_detected() {
4132
+ if ( ! RSSSL()->really_simple_ssl->wpconfig_ok() ) {
4133
+ return 'fail';
4134
+ }
4135
+ if ( ! RSSSL()->really_simple_ssl->site_has_ssl ) {
4136
+ return 'no-ssl-detected';
4137
+ }
4138
+ if ( RSSSL()->rsssl_certificate->is_valid() ) {
4139
+ return 'ssl-detected';
4140
+ }
4141
+
4142
+ return false;
4143
  }
4144
+ }
4145
+
4146
+ if (!function_exists('rsssl_check_redirect')) {
4147
+ function rsssl_check_redirect() {
4148
+ if ( ! RSSSL()->really_simple_ssl->has_301_redirect() ) {
4149
+ return 'no-redirect-set';
4150
+ }
4151
+ if ( RSSSL()->really_simple_ssl->has_301_redirect() && RSSSL()->rsssl_server->uses_htaccess() && RSSSL()->really_simple_ssl->htaccess_contains_redirect_rules() ) {
4152
+ return 'htaccess-redirect-set';
4153
+ }
4154
+ if ( RSSSL()->really_simple_ssl->has_301_redirect() && RSSSL()->really_simple_ssl->wp_redirect && RSSSL()->rsssl_server->uses_htaccess() && ! RSSSL()->really_simple_ssl->htaccess_redirect ) {
4155
+ return 'wp-redirect-to-htaccess';
4156
+ }
4157
+ if ( RSSSL()->rsssl_server->uses_htaccess() && ( ! is_multisite() || ! RSSSL()->rsssl_multisite->is_per_site_activated_multisite_subfolder_install() ) ) {
4158
+ if ( ! is_writable( RSSSL()->really_simple_ssl->htaccess_file() ) ) {
4159
+ return 'htaccess-not-writeable';
4160
+ } else {
4161
+ return 'htaccess-cannot-be-set';
4162
+ }
4163
+ } else {
4164
+ return 'default';
4165
+ }
4166
  }
4167
+ }
4168
 
4169
+ if (!function_exists('rsssl_hsts_enabled')) {
4170
+ function rsssl_hsts_enabled() {
4171
+ if ( RSSSL()->really_simple_ssl->contains_hsts() ) {
4172
+ return 'contains-hsts';
4173
+ } else {
4174
+ return 'no-hsts';
4175
+ }
4176
+ }
4177
  }
4178
 
4179
+ if (!function_exists('rsssl_secure_cookies_set')) {
4180
+ function rsssl_secure_cookies_set() {
4181
+ if ( RSSSL()->really_simple_ssl->contains_secure_cookie_settings() ) {
4182
+ return 'set';
4183
+ } else {
4184
+ return 'not-set';
4185
+ }
4186
+ }
 
 
 
 
 
 
 
 
 
 
 
4187
  }
4188
 
4189
+ if (!function_exists('rsssl_scan_upsell')) {
4190
+ function rsssl_scan_upsell() {
4191
+ return 'upsell';
4192
+ }
 
 
 
4193
  }
4194
 
4195
+ if (!function_exists('rsssl_htaccess_redirect_allowed')) {
4196
+ function rsssl_htaccess_redirect_allowed() {
4197
+ return RSSSL()->really_simple_ssl->htaccess_redirect_allowed();
4198
+ }
 
 
 
4199
  }
4200
 
4201
+ // Non-prefixed for backwards compatibility
4202
+ if (!function_exists('uses_elementor')) {
4203
+ function uses_elementor() {
4204
+ if ( defined( 'ELEMENTOR_VERSION' ) || defined( 'ELEMENTOR_PRO_VERSION' ) ) {
4205
+ return true;
4206
+ } else {
4207
+ return false;
4208
+ }
4209
+ }
4210
  }
4211
 
4212
+ if (!function_exists('rsssl_uses_elementor')) {
4213
+ function rsssl_uses_elementor() {
4214
+ if ( defined( 'ELEMENTOR_VERSION' ) || defined( 'ELEMENTOR_PRO_VERSION' ) ) {
4215
+ return true;
4216
+ } else {
4217
+ return false;
4218
+ }
4219
+ }
4220
  }
4221
 
4222
+ if (!function_exists('rsssl_uses_divi')) {
4223
+ function rsssl_uses_divi() {
4224
+ if ( defined( 'ET_CORE_PATH' ) ) {
4225
+ return true;
4226
+ } else {
4227
+ return false;
4228
+ }
4229
+ }
4230
  }
4231
 
4232
+ if (!function_exists('rsssl_ssl_activation_time_no_longer_then_3_days_ago')) {
4233
+ function rsssl_ssl_activation_time_no_longer_then_3_days_ago() {
4234
 
4235
+ $activation_time = get_option( 'rsssl_activation_timestamp' );
4236
+ $three_days_after_activation = $activation_time + 3 * DAY_IN_SECONDS;
4237
 
4238
+ if ( time() < $three_days_after_activation ) {
4239
+ return true;
4240
+ } else {
4241
+ return false;
4242
+ }
4243
+ }
4244
  }
4245
 
4246
+ if (!function_exists('rsssl_elementor_notice')) {
4247
+ function rsssl_elementor_notice() {
4248
+ return 'elementor-notice';
4249
+ }
4250
  }
4251
 
4252
+ if (!function_exists('rsssl_wp_redirect_condition')) {
4253
+ function rsssl_wp_redirect_condition() {
4254
+ if ( RSSSL()->really_simple_ssl->has_301_redirect() && RSSSL()->really_simple_ssl->wp_redirect && ! RSSSL()->really_simple_ssl->htaccess_redirect ) {
4255
+ return true;
4256
+ } else {
4257
+ return false;
4258
+ }
4259
+ }
4260
  }
4261
 
4262
+ if (!function_exists('rsssl_wordpress_redirect')) {
4263
+ function rsssl_wordpress_redirect() {
4264
+ if ( RSSSL()->really_simple_ssl->has_301_redirect() && RSSSL()->really_simple_ssl->wp_redirect ) {
4265
+ return '301-wp-redirect';
4266
+ } else {
4267
+ return 'no-redirect';
4268
+ }
4269
+ }
4270
  }
4271
 
4272
+ if (!function_exists('rsssl_no_multisite')) {
4273
+ function rsssl_no_multisite() {
4274
+ if ( ! is_multisite() ) {
4275
+ return true;
4276
+ } else {
4277
+ return false;
4278
+ }
4279
+ }
4280
  }
css/main.css CHANGED
@@ -15,6 +15,10 @@
15
  /*height:inherit;*/
16
  }
17
 
 
 
 
 
18
  #message.updated.notice.activate-ssl {
19
  padding-top: 10px;
20
  }
15
  /*height:inherit;*/
16
  }
17
 
18
+ .nav-tab-active {
19
+ background: #fff;
20
+ }
21
+
22
  #message.updated.notice.activate-ssl {
23
  padding-top: 10px;
24
  }
css/main.min.css CHANGED
@@ -1 +1 @@
1
- .rsssl-notice{background-color:#fff;border-left:4px solid green;padding:1px 15px}.rsssl-main{flex:1;width:80%;float:left}.rsssl-sidebar img{max-width:100%}#message.updated.notice.activate-ssl{padding-top:10px}.activate-ssl{border-left:4px solid #f8be2e}.rsssl-scan-completed{border-left:4px solid #46b450}.btn-premium{margin-left:10px !important}.btn-premium-activated{padding-top:10px;padding-bottom:10px}.activate-ssl .button{margin-bottom:20px}.really-simple-ssl-table{display:flex;flex-direction:column;max-width:1140px}.rsssl-table-td-main-content{width:100%}.really-simple-ssl-table tr:first-child{border-top-left-radius:.55rem;border-top-right-radius:.55rem}.really-simple-ssl-table tr:last-child{margin-bottom:0;border-bottom-left-radius:.55rem;border-bottom-right-radius:.55rem}.really-simple-ssl-table tr{position:relative;display:block;padding:.75rem 1.25rem;margin-bottom:-1px;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.debug-log{background-color:#fff;padding:15px;border:1px solid black}.rsssl-icons{width:15px;height:15px}.rsssl-update-count{margin-left:4px !important;display:inline-block;vertical-align:top;box-sizing:border-box;margin:1px 0 -1px 2px;padding:0 5px;min-width:18px;height:18px;border-radius:9px;background-color:#ca4a1f;color:#fff;font-size:11px;line-height:1.6;text-align:center;z-index:26}[data-rsssl-tooltip],.rsssl-tooltip{position:relative;cursor:pointer}[data-rsssl-tooltip]:before,[data-rsssl-tooltip]:after,.rsssl-tooltip:before,.rsssl-tooltip:after{position:absolute;visibility:hidden;-ms-filter:"alpha(opacity=0)";filter:alpha(opacity=0);opacity:0;-webkit-transition:opacity .2s ease-in-out,visibility .2s ease-in-out,-webkit-transform .2s cubic-bezier(0.71,1.7,0.77,1.24);-moz-transition:opacity .2s ease-in-out,visibility .2s ease-in-out,-moz-transform .2s cubic-bezier(0.71,1.7,0.77,1.24);transition:opacity .2s ease-in-out,visibility .2s ease-in-out,transform .2s cubic-bezier(0.71,1.7,0.77,1.24);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0);pointer-events:none}[data-rsssl-tooltip]:hover:before,[data-rsssl-tooltip]:hover:after,[data-rsssl-tooltip]:focus:before,[data-rsssl-tooltip]:focus:after,.rsssl-tooltip:hover:before,.rsssl-tooltip:hover:after,.rsssl-tooltip:focus:before,.rsssl-tooltip:focus:after{visibility:visible;-ms-filter:"alpha(opacity=100)";filter:alpha(opacity=100);opacity:1}.rsssl-tooltip:before,[data-rsssl-tooltip]:before{z-index:1001;border:6px solid transparent;background:transparent;content:""}.rsssl-tooltip:after,[data-rsssl-tooltip]:after{z-index:1000;padding:8px;width:160px;background-color:#000;background-color:hsla(0,0,20%,0.9);color:#fff;content:attr(data-rsssl-tooltip);font-size:14px;line-height:1.2}[data-rsssl-tooltip]:before,[data-rsssl-tooltip]:after,.rsssl-tooltip:before,.rsssl-tooltip:after,.rsssl-tooltip-top:before,.rsssl-tooltip-top:after{bottom:100%;left:50%}[data-rsssl-tooltip]:before,.rsssl-tooltip:before,.rsssl-tooltip-top:before{margin-left:-6px;margin-bottom:-12px;border-top-color:#000;border-top-color:hsla(0,0,20%,0.9)}[data-rsssl-tooltip]:after,.rsssl-tooltip:after,.rsssl-tooltip-top:after{margin-left:-80px}[data-rsssl-tooltip]:hover:before,[data-rsssl-tooltip]:hover:after,[data-rsssl-tooltip]:focus:before,[data-rsssl-tooltip]:focus:after,.rsssl-tooltip:hover:before,.rsssl-tooltip:hover:after,.rsssl-tooltip:focus:before,.rsssl-tooltip:focus:after,.rsssl-tooltip-top:hover:before,.rsssl-tooltip-top:hover:after,.rsssl-tooltip-top:focus:before,.rsssl-tooltip-top:focus:after{-webkit-transform:translateY(-12px);-moz-transform:translateY(-12px);transform:translateY(-12px)}.rsssl-tooltip-left:before,.rsssl-tooltip-left:after{right:100%;bottom:50%;left:auto}.rsssl-tooltip-left:before{margin-left:0;margin-right:-12px;margin-bottom:0;border-top-color:transparent;border-left-color:#000;border-left-color:hsla(0,0,20%,0.9)}.rsssl-tooltip-left:hover:before,.rsssl-tooltip-left:hover:after,.rsssl-tooltip-left:focus:before,.rsssl-tooltip-left:focus:after{-webkit-transform:translateX(-12px);-moz-transform:translateX(-12px);transform:translateX(-12px)}.rsssl-tooltip-bottom:before,.rsssl-tooltip-bottom:after{top:100%;bottom:auto;left:50%}.rsssl-tooltip-bottom:before{margin-top:-12px;margin-bottom:0;border-top-color:transparent;border-bottom-color:#000;border-bottom-color:hsla(0,0,20%,0.9)}.rsssl-tooltip-bottom:hover:before,.rsssl-tooltip-bottom:hover:after,.rsssl-tooltip-bottom:focus:before,.rsssl-tooltip-bottom:focus:after{-webkit-transform:translateY(12px);-moz-transform:translateY(12px);transform:translateY(12px)}.rsssl-tooltip-right:before,.rsssl-tooltip-right:after{bottom:50%;left:100%}.rsssl-tooltip-right:before{margin-bottom:0;margin-left:-12px;border-top-color:transparent;border-right-color:#000;border-right-color:hsla(0,0,20%,0.9)}.rsssl-tooltip-right:hover:before,.rsssl-tooltip-right:hover:after,.rsssl-tooltip-right:focus:before,.rsssl-tooltip-right:focus:after{-webkit-transform:translateX(12px);-moz-transform:translateX(12px);transform:translateX(12px)}.rsssl-tooltip-left:before,.rsssl-tooltip-right:before{top:3px}.rsssl-tooltip-left:after,.rsssl-tooltip-right:after{margin-left:0;margin-bottom:-16px}.rsssl-really-simple-plugins-logo{background-color:#ececec;margin-left:-15px;margin-right:-15px}.rsssl-sidebar{width:240px;margin-top:20px;padding-left:15px;padding-right:15px;margin-right:15px;padding-bottom:15px;background-color:#ececec}.rsssl-sidebar-single-content-container{min-height:125px;padding-bottom:35px;margin-bottom:10px;background-color:#fff;width:100%;border-radius:3%}.rsssl-sidebar-single-content-container-pro{background-color:#fff;min-height:125px;padding-bottom:35px;margin-bottom:10px;width:100%;border-radius:3%}.rsssl-sidebar-title h3{font-size:.9em}.rsssl-sidebar-text-content-pro{font-weight:700;font-size:.8em;width:90%;margin:auto}.rsssl-sidebar-text-content{width:45%;padding-top:5px;padding-right:7px;font-weight:700;font-size:.8em;float:right;margin:10px auto}.rsssl-pro-image{height:30px;margin-top:6px}.rsssl-sidebar-image-pro{width:90%;margin:10px}.rsssl-sidebar-image{width:100px;float:left;padding:10px;height:100px}@media screen and (max-width:1024px) and (min-width:541px){.rsssl-main{width:100%}.rsssl-sidebar-title{text-align:center}.rsssl-container{flex-direction:column}.rsssl-sidebar{width:100%}.rsssl-really-simple-plugins-logo{width:40%}.rsssl-sidebar-single-content-container{background-color:#fff;width:40%;padding-left:25px;float:left;margin-right:25px}.rsssl-sidebar-single-content-container-pro{width:40%;padding-left:25px;margin:auto auto 25px}.rsssl-sidebar-um-text-content{width:40%}.rsssl-pro-image{display:none}}@media screen and (max-width:540px){.rsssl-main{width:100%}.rsssl-container{flex-direction:column}.rsssl-sidebar{display:grid;text-align:-webkit-center;width:70%}.rsssl-sidebar-um-text-content{width:45%}.rsssl-sidebar-single-content-container-pro{padding-bottom:10px}.rsssl-sidebar-single-content-container{padding-bottom:10px}}.rsssl-sidebar h4{font-size:14px;font-style:italic}.rsssl-wrapper{padding:30px}.rsssl-sidebar-list{font-size:.9em}#rsssl-premium-button-pro{display:inline-table;width:40%;text-align:center;float:right;font-size:inherit;height:25px;-webkit-border-radius:12px;-moz-border-radius:12px;border-radius:12px;border:0;background-color:#000;color:white;margin-right:5px}.rsssl-sidebar-content{float:left;padding-bottom:10px}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}.rsssl-container{display:flex}#rsssl-premium-button{display:inline-table;width:40%;text-align:center;float:right;font-size:inherit;height:25px;border-radius:12px;border:0;background-color:#000;color:white;margin-right:5px}.rsssl-more-info-button{border:0;border-radius:50px;clear:both;margin-top:10px}#TB_ajaxContent{text-align:center !important}#TB_window{height:370px !important}.rsssl-button-deactivate-keep-ssl{margin-right:15px}.rsssl-scan-completed .rsssl-scan-button{margin-top:17px}.rsssl-scan-button{float:left;margin-top:10px;margin-right:15px}.rsssl-switch{position:relative;display:inline-block;width:40px;height:21px}.rsssl-switch input{display:none}.rsssl-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s}.rsssl-slider:before{position:absolute;content:"";height:15px;width:15px;left:4px;bottom:3px;background-color:white;-webkit-transition:.4s;transition:.4s}.rsssl-slider.rsssl-round{border-radius:20px}.rsssl-slider.rsssl-round:before{border-radius:50%}input:checked+.rsssl-slider{background-color:#2daae1}input:checked+.rsssl-slider:before{-webkit-transform:translateX(17px);-ms-transform:translateX(17px);transform:translateX(17px)}input:disabled+.rsssl-slider{background-color:#b3e0f4}input:focus+.rsssl-slider{box-shadow:0 0 1px #2daae1}.debug-log{width:90%}.rsssl-dismiss-text{font-size:1em;color:#0073aa;margin-left:6px}.rsssl-dashboard-plusone{margin-left:8px}.rsssl-highlight{border-left:4px solid #46b450;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);background-image:none !important;-o-animation:fadeIt 5s ease-in-out;animation:fadeIt 5s ease-in-out}@-o-keyframes fadeIt{0{background-color:#fff}30%{background-color:#d6efd6}100%{background-color:inherit}}@keyframes fadeIt{0{background-color:#fff}30%{background-color:#d6efd6}100%{background-color:inherit}}.form-table th{padding-left:10px}.rsssl-dashboard-dismiss .close{all:initial}.rsssl-dashboard-dismiss span{font-size:1.5em;color:darkgrey;font-family:sans-serif}.rsssl-dashboard-dismiss span:hover{cursor:pointer;color:grey}
1
+ .rsssl-notice{background-color:#fff;border-left:4px solid green;padding:1px 15px}.rsssl-main{flex:1;width:80%;float:left}.rsssl-sidebar img{max-width:100%}.nav-tab-active{background:#fff}#message.updated.notice.activate-ssl{padding-top:10px}.activate-ssl{border-left:4px solid #f8be2e}.rsssl-scan-completed{border-left:4px solid #46b450}.btn-premium{margin-left:10px !important}.btn-premium-activated{padding-top:10px;padding-bottom:10px}.activate-ssl .button{margin-bottom:20px}.really-simple-ssl-table{display:flex;flex-direction:column;max-width:1140px}.rsssl-table-td-main-content{width:100%}.really-simple-ssl-table tr:first-child{border-top-left-radius:.55rem;border-top-right-radius:.55rem}.really-simple-ssl-table tr:last-child{margin-bottom:0;border-bottom-left-radius:.55rem;border-bottom-right-radius:.55rem}.really-simple-ssl-table tr{position:relative;display:block;padding:.75rem 1.25rem;margin-bottom:-1px;background-color:#fff;border:1px solid rgba(0,0,0,.125)}.debug-log{background-color:#fff;padding:15px;border:1px solid black}.rsssl-icons{width:15px;height:15px}.rsssl-update-count{margin-left:4px !important;display:inline-block;vertical-align:top;box-sizing:border-box;margin:1px 0 -1px 2px;padding:0 5px;min-width:18px;height:18px;border-radius:9px;background-color:#ca4a1f;color:#fff;font-size:11px;line-height:1.6;text-align:center;z-index:26}[data-rsssl-tooltip],.rsssl-tooltip{position:relative;cursor:pointer}[data-rsssl-tooltip]:before,[data-rsssl-tooltip]:after,.rsssl-tooltip:before,.rsssl-tooltip:after{position:absolute;visibility:hidden;-ms-filter:"alpha(opacity=0)";filter:alpha(opacity=0);opacity:0;-webkit-transition:opacity .2s ease-in-out,visibility .2s ease-in-out,-webkit-transform .2s cubic-bezier(0.71,1.7,0.77,1.24);-moz-transition:opacity .2s ease-in-out,visibility .2s ease-in-out,-moz-transform .2s cubic-bezier(0.71,1.7,0.77,1.24);transition:opacity .2s ease-in-out,visibility .2s ease-in-out,transform .2s cubic-bezier(0.71,1.7,0.77,1.24);-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0);pointer-events:none}[data-rsssl-tooltip]:hover:before,[data-rsssl-tooltip]:hover:after,[data-rsssl-tooltip]:focus:before,[data-rsssl-tooltip]:focus:after,.rsssl-tooltip:hover:before,.rsssl-tooltip:hover:after,.rsssl-tooltip:focus:before,.rsssl-tooltip:focus:after{visibility:visible;-ms-filter:"alpha(opacity=100)";filter:alpha(opacity=100);opacity:1}.rsssl-tooltip:before,[data-rsssl-tooltip]:before{z-index:1001;border:6px solid transparent;background:transparent;content:""}.rsssl-tooltip:after,[data-rsssl-tooltip]:after{z-index:1000;padding:8px;width:160px;background-color:#000;background-color:hsla(0,0,20%,0.9);color:#fff;content:attr(data-rsssl-tooltip);font-size:14px;line-height:1.2}[data-rsssl-tooltip]:before,[data-rsssl-tooltip]:after,.rsssl-tooltip:before,.rsssl-tooltip:after,.rsssl-tooltip-top:before,.rsssl-tooltip-top:after{bottom:100%;left:50%}[data-rsssl-tooltip]:before,.rsssl-tooltip:before,.rsssl-tooltip-top:before{margin-left:-6px;margin-bottom:-12px;border-top-color:#000;border-top-color:hsla(0,0,20%,0.9)}[data-rsssl-tooltip]:after,.rsssl-tooltip:after,.rsssl-tooltip-top:after{margin-left:-80px}[data-rsssl-tooltip]:hover:before,[data-rsssl-tooltip]:hover:after,[data-rsssl-tooltip]:focus:before,[data-rsssl-tooltip]:focus:after,.rsssl-tooltip:hover:before,.rsssl-tooltip:hover:after,.rsssl-tooltip:focus:before,.rsssl-tooltip:focus:after,.rsssl-tooltip-top:hover:before,.rsssl-tooltip-top:hover:after,.rsssl-tooltip-top:focus:before,.rsssl-tooltip-top:focus:after{-webkit-transform:translateY(-12px);-moz-transform:translateY(-12px);transform:translateY(-12px)}.rsssl-tooltip-left:before,.rsssl-tooltip-left:after{right:100%;bottom:50%;left:auto}.rsssl-tooltip-left:before{margin-left:0;margin-right:-12px;margin-bottom:0;border-top-color:transparent;border-left-color:#000;border-left-color:hsla(0,0,20%,0.9)}.rsssl-tooltip-left:hover:before,.rsssl-tooltip-left:hover:after,.rsssl-tooltip-left:focus:before,.rsssl-tooltip-left:focus:after{-webkit-transform:translateX(-12px);-moz-transform:translateX(-12px);transform:translateX(-12px)}.rsssl-tooltip-bottom:before,.rsssl-tooltip-bottom:after{top:100%;bottom:auto;left:50%}.rsssl-tooltip-bottom:before{margin-top:-12px;margin-bottom:0;border-top-color:transparent;border-bottom-color:#000;border-bottom-color:hsla(0,0,20%,0.9)}.rsssl-tooltip-bottom:hover:before,.rsssl-tooltip-bottom:hover:after,.rsssl-tooltip-bottom:focus:before,.rsssl-tooltip-bottom:focus:after{-webkit-transform:translateY(12px);-moz-transform:translateY(12px);transform:translateY(12px)}.rsssl-tooltip-right:before,.rsssl-tooltip-right:after{bottom:50%;left:100%}.rsssl-tooltip-right:before{margin-bottom:0;margin-left:-12px;border-top-color:transparent;border-right-color:#000;border-right-color:hsla(0,0,20%,0.9)}.rsssl-tooltip-right:hover:before,.rsssl-tooltip-right:hover:after,.rsssl-tooltip-right:focus:before,.rsssl-tooltip-right:focus:after{-webkit-transform:translateX(12px);-moz-transform:translateX(12px);transform:translateX(12px)}.rsssl-tooltip-left:before,.rsssl-tooltip-right:before{top:3px}.rsssl-tooltip-left:after,.rsssl-tooltip-right:after{margin-left:0;margin-bottom:-16px}.rsssl-really-simple-plugins-logo{background-color:#ececec;margin-left:-15px;margin-right:-15px}.rsssl-sidebar{width:240px;margin-top:20px;padding-left:15px;padding-right:15px;margin-right:15px;padding-bottom:15px;background-color:#ececec}.rsssl-sidebar-single-content-container{min-height:125px;padding-bottom:35px;margin-bottom:10px;background-color:#fff;width:100%;border-radius:3%}.rsssl-sidebar-single-content-container-pro{background-color:#fff;min-height:125px;padding-bottom:35px;margin-bottom:10px;width:100%;border-radius:3%}.rsssl-sidebar-title h3{font-size:.9em}.rsssl-sidebar-text-content-pro{font-weight:700;font-size:.8em;width:90%;margin:auto}.rsssl-sidebar-text-content{width:45%;padding-top:5px;padding-right:7px;font-weight:700;font-size:.8em;float:right;margin:10px auto}.rsssl-pro-image{height:30px;margin-top:6px}.rsssl-sidebar-image-pro{width:90%;margin:10px}.rsssl-sidebar-image{width:100px;float:left;padding:10px;height:100px}@media screen and (max-width:1024px) and (min-width:541px){.rsssl-main{width:100%}.rsssl-sidebar-title{text-align:center}.rsssl-container{flex-direction:column}.rsssl-sidebar{width:100%}.rsssl-really-simple-plugins-logo{width:40%}.rsssl-sidebar-single-content-container{background-color:#fff;width:40%;padding-left:25px;float:left;margin-right:25px}.rsssl-sidebar-single-content-container-pro{width:40%;padding-left:25px;margin:auto auto 25px}.rsssl-sidebar-um-text-content{width:40%}.rsssl-pro-image{display:none}}@media screen and (max-width:540px){.rsssl-main{width:100%}.rsssl-container{flex-direction:column}.rsssl-sidebar{display:grid;text-align:-webkit-center;width:70%}.rsssl-sidebar-um-text-content{width:45%}.rsssl-sidebar-single-content-container-pro{padding-bottom:10px}.rsssl-sidebar-single-content-container{padding-bottom:10px}}.rsssl-sidebar h4{font-size:14px;font-style:italic}.rsssl-wrapper{padding:30px}.rsssl-sidebar-list{font-size:.9em}#rsssl-premium-button-pro{display:inline-table;width:40%;text-align:center;float:right;font-size:inherit;height:25px;-webkit-border-radius:12px;-moz-border-radius:12px;border-radius:12px;border:0;background-color:#000;color:white;margin-right:5px}.rsssl-sidebar-content{float:left;padding-bottom:10px}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}.rsssl-container{display:flex}#rsssl-premium-button{display:inline-table;width:40%;text-align:center;float:right;font-size:inherit;height:25px;border-radius:12px;border:0;background-color:#000;color:white;margin-right:5px}.rsssl-more-info-button{border:0;border-radius:50px;clear:both;margin-top:10px}#TB_ajaxContent{text-align:center !important}#TB_window{height:370px !important}.rsssl-button-deactivate-keep-ssl{margin-right:15px}.rsssl-scan-completed .rsssl-scan-button{margin-top:17px}.rsssl-scan-button{float:left;margin-top:10px;margin-right:15px}.rsssl-switch{position:relative;display:inline-block;width:40px;height:21px}.rsssl-switch input{display:none}.rsssl-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s}.rsssl-slider:before{position:absolute;content:"";height:15px;width:15px;left:4px;bottom:3px;background-color:white;-webkit-transition:.4s;transition:.4s}.rsssl-slider.rsssl-round{border-radius:20px}.rsssl-slider.rsssl-round:before{border-radius:50%}input:checked+.rsssl-slider{background-color:#2daae1}input:checked+.rsssl-slider:before{-webkit-transform:translateX(17px);-ms-transform:translateX(17px);transform:translateX(17px)}input:disabled+.rsssl-slider{background-color:#b3e0f4}input:focus+.rsssl-slider{box-shadow:0 0 1px #2daae1}.debug-log{width:90%}.rsssl-dismiss-text{font-size:1em;color:#0073aa;margin-left:6px}.rsssl-dashboard-plusone{margin-left:8px}.rsssl-highlight{border-left:4px solid #46b450;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);background-image:none !important;-o-animation:fadeIt 5s ease-in-out;animation:fadeIt 5s ease-in-out}@-o-keyframes fadeIt{0{background-color:#fff}30%{background-color:#d6efd6}100%{background-color:inherit}}@keyframes fadeIt{0{background-color:#fff}30%{background-color:#d6efd6}100%{background-color:inherit}}.form-table th{padding-left:10px}.rsssl-dashboard-dismiss .close{all:initial}.rsssl-dashboard-dismiss span{font-size:1.5em;color:darkgrey;font-family:sans-serif}.rsssl-dashboard-dismiss span:hover{cursor:pointer;color:grey}
readme.txt CHANGED
@@ -6,7 +6,7 @@ Requires at least: 4.6
6
  License: GPL2
7
  Tested up to: 5.4
8
  Requires PHP: 5.4
9
- Stable tag: 3.3.1
10
 
11
  No setup required! You only need an SSL certificate, and this plugin will do the rest.
12
 
@@ -82,6 +82,14 @@ If you are experiencing redirect loops on your site, try these [instructions](ht
82
  Yes. There is a dedicated network settings page where you can switch between network activated SSL and per page SSL. In the dedicated pro for multisite plugin, you can override all site settings for SSL on the network level, and can activate and deactivate SSL in the network menu for each site.
83
 
84
  == Changelog ==
 
 
 
 
 
 
 
 
85
  = 3.3.1 =
86
  * Fixed a typo in the backup link
87
  * Added instructions on how to add a free SSL certificate
6
  License: GPL2
7
  Tested up to: 5.4
8
  Requires PHP: 5.4
9
+ Stable tag: 3.3.2
10
 
11
  No setup required! You only need an SSL certificate, and this plugin will do the rest.
12
 
82
  Yes. There is a dedicated network settings page where you can switch between network activated SSL and per page SSL. In the dedicated pro for multisite plugin, you can override all site settings for SSL on the network level, and can activate and deactivate SSL in the network menu for each site.
83
 
84
  == Changelog ==
85
+ = 3.3.2 =
86
+ * Added a notice when using Divi theme with a link to knowledge base instructions
87
+ * Fixed a CSS issue where the active tab in setting didn't have an active color
88
+ * Added an additional option to dismiss the review notice
89
+ * Removed review notice capability check
90
+ * Fixed a bug on multisite where a plusone was shown when it should only shown on non-multisite
91
+ * Added prefix to uses_elementor() function and added checks if function_exists
92
+
93
  = 3.3.1 =
94
  * Fixed a typo in the backup link
95
  * Added instructions on how to add a free SSL certificate
rlrsssl-really-simple-ssl.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Really Simple SSL
4
  * Plugin URI: https://www.really-simple-ssl.com
5
  * Description: Lightweight plugin without any setup to make your site SSL proof
6
- * Version: 3.3.1
7
  * Text Domain: really-simple-ssl
8
  * Domain Path: /languages
9
  * Author: Rogier Lankhorst, Mark Wolters
3
  * Plugin Name: Really Simple SSL
4
  * Plugin URI: https://www.really-simple-ssl.com
5
  * Description: Lightweight plugin without any setup to make your site SSL proof
6
+ * Version: 3.3.2
7
  * Text Domain: really-simple-ssl
8
  * Domain Path: /languages
9
  * Author: Rogier Lankhorst, Mark Wolters