Version Description
- Dismiss review notice now uses get variable to dismiss it
Download this release
Release Info
Developer | RogierLankhorst |
Plugin | Really Simple SSL |
Version | 3.3.3 |
Comparing to | |
See all releases |
Code changes from version 3.3.2 to 3.3.3
- class-admin.php +24 -5
- readme.txt +4 -1
- rlrsssl-really-simple-ssl.php +1 -1
class-admin.php
CHANGED
@@ -61,6 +61,10 @@ class rsssl_admin extends rsssl_front_end
|
|
61 |
|
62 |
$this->get_plugin_upgraded(); //call always, otherwise db version will not match anymore.
|
63 |
|
|
|
|
|
|
|
|
|
64 |
register_deactivation_hook(dirname(__FILE__) . "/" . $this->plugin_filename, array($this, 'deactivate'));
|
65 |
|
66 |
add_action('admin_init', array($this, 'add_privacy_info'));
|
@@ -89,6 +93,11 @@ class rsssl_admin extends rsssl_front_end
|
|
89 |
);
|
90 |
}
|
91 |
|
|
|
|
|
|
|
|
|
|
|
92 |
|
93 |
/**
|
94 |
* Initializes the admin class
|
@@ -2146,10 +2155,8 @@ class rsssl_admin extends rsssl_front_end
|
|
2146 |
<div class="rsssl-buttons-row">
|
2147 |
<a class="button button-primary" target="_blank"
|
2148 |
href="https://wordpress.org/support/plugin/really-simple-ssl/reviews/#new-post"><?php _e('Leave a review', 'really-simple-ssl'); ?></a>
|
2149 |
-
|
2150 |
<div class="dashicons dashicons-calendar"></div><a href="#" id="maybe-later"><?php _e('Maybe later', 'really-simple-ssl'); ?></a>
|
2151 |
-
|
2152 |
-
<div class="dashicons dashicons-no-alt"></div><a href="#" class="review-dismiss"><?php _e('Don\'t show again', 'really-simple-ssl'); ?></a>
|
2153 |
</div>
|
2154 |
</div>
|
2155 |
</div>
|
@@ -2228,7 +2235,7 @@ class rsssl_admin extends rsssl_front_end
|
|
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"
|
@@ -2768,7 +2775,7 @@ class rsssl_admin extends rsssl_front_end
|
|
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(
|
@@ -4278,3 +4285,15 @@ if (!function_exists('rsssl_no_multisite')) {
|
|
4278 |
}
|
4279 |
}
|
4280 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
|
62 |
$this->get_plugin_upgraded(); //call always, otherwise db version will not match anymore.
|
63 |
|
64 |
+
if (isset($_GET['rsssl_dismiss_review_notice'])){
|
65 |
+
$this->get_dismiss_review_notice();
|
66 |
+
}
|
67 |
+
|
68 |
register_deactivation_hook(dirname(__FILE__) . "/" . $this->plugin_filename, array($this, 'deactivate'));
|
69 |
|
70 |
add_action('admin_init', array($this, 'add_privacy_info'));
|
93 |
);
|
94 |
}
|
95 |
|
96 |
+
public function get_dismiss_review_notice() {
|
97 |
+
$this->review_notice_shown = true;
|
98 |
+
$this->dismiss_review_notice = true;
|
99 |
+
$this->save_options();
|
100 |
+
}
|
101 |
|
102 |
/**
|
103 |
* Initializes the admin class
|
2155 |
<div class="rsssl-buttons-row">
|
2156 |
<a class="button button-primary" target="_blank"
|
2157 |
href="https://wordpress.org/support/plugin/really-simple-ssl/reviews/#new-post"><?php _e('Leave a review', 'really-simple-ssl'); ?></a>
|
|
|
2158 |
<div class="dashicons dashicons-calendar"></div><a href="#" id="maybe-later"><?php _e('Maybe later', 'really-simple-ssl'); ?></a>
|
2159 |
+
<div class="dashicons dashicons-no-alt"></div><a href="<?php echo esc_url(add_query_arg(array("page"=>"rlrsssl_really_simple_ssl", "tab"=>"configuration", "rsssl_dismiss_review_notice"=>1),admin_url("options-general.php") ) );?>" class="review-dismiss"><?php _e('Don\'t show again', 'really-simple-ssl'); ?></a>
|
|
|
2160 |
</div>
|
2161 |
</div>
|
2162 |
</div>
|
2235 |
<?php _e("More info", "really-simple-ssl"); ?></a>
|
2236 |
</li>
|
2237 |
|
2238 |
+
<?php if (rsssl_uses_elementor() && rsssl_does_not_use_pro()) {
|
2239 |
?>
|
2240 |
<li class="message-li"><?php _e("We have detected Elementor.", "really-simple-ssl");?>
|
2241 |
<a target="_blank"
|
2775 |
),
|
2776 |
|
2777 |
'elementor' => array(
|
2778 |
+
'condition' => array('rsssl_uses_elementor' , 'rsssl_ssl_activation_time_no_longer_then_3_days_ago' ,'rsssl_does_not_use_pro'),
|
2779 |
'callback' => 'rsssl_elementor_notice',
|
2780 |
'output' => array(
|
2781 |
'elementor-notice' => array(
|
4285 |
}
|
4286 |
}
|
4287 |
}
|
4288 |
+
|
4289 |
+
if (!function_exists('rsssl_does_not_use_pro')) {
|
4290 |
+
function rsssl_does_not_use_pro() {
|
4291 |
+
if ( ! defined("rsssl_pro_version") ) {
|
4292 |
+
// Does not use RSSSL pro
|
4293 |
+
return true;
|
4294 |
+
} else {
|
4295 |
+
// Uses RSSSL pro
|
4296 |
+
return false;
|
4297 |
+
}
|
4298 |
+
}
|
4299 |
+
}
|
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.
|
10 |
|
11 |
No setup required! You only need an SSL certificate, and this plugin will do the rest.
|
12 |
|
@@ -82,6 +82,9 @@ 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.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
|
6 |
License: GPL2
|
7 |
Tested up to: 5.4
|
8 |
Requires PHP: 5.4
|
9 |
+
Stable tag: 3.3.3
|
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.3 =
|
86 |
+
* Dismiss review notice now uses get variable to dismiss it
|
87 |
+
|
88 |
= 3.3.2 =
|
89 |
* Added a notice when using Divi theme with a link to knowledge base instructions
|
90 |
* Fixed a CSS issue where the active tab in setting didn't have an active color
|
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.
|
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.3
|
7 |
* Text Domain: really-simple-ssl
|
8 |
* Domain Path: /languages
|
9 |
* Author: Rogier Lankhorst, Mark Wolters
|