Version Description
- Fix permissions clearout method.
Download this release
Release Info
Developer | rpetersen29 |
Plugin | Simple Banner |
Version | 2.4.5 |
Comparing to | |
See all releases |
Code changes from version 2.4.4 to 2.4.5
- readme.txt +8 -2
- simple-banner.php +8 -8
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: rpetersen29
|
|
3 |
Donate link: https://www.paypal.me/rpetersenDev
|
4 |
Tags: banner, banners, simple, announcement, announcements, cta, notification, bar, bars, free, hello bar, hellobar, pro
|
5 |
Requires at least: 3.0.1
|
6 |
-
Tested up to: 5.4.
|
7 |
-
Stable tag: 2.4.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -96,6 +96,9 @@ This feature is being actively developed, in the meantime you can use this custo
|
|
96 |
|
97 |
== Changelog ==
|
98 |
|
|
|
|
|
|
|
99 |
= 2.4.4 =
|
100 |
* Fix php error.
|
101 |
|
@@ -200,6 +203,9 @@ This feature is being actively developed, in the meantime you can use this custo
|
|
200 |
|
201 |
== Upgrade Notice ==
|
202 |
|
|
|
|
|
|
|
203 |
= 2.4.4 =
|
204 |
* Fix php error.
|
205 |
|
3 |
Donate link: https://www.paypal.me/rpetersenDev
|
4 |
Tags: banner, banners, simple, announcement, announcements, cta, notification, bar, bars, free, hello bar, hellobar, pro
|
5 |
Requires at least: 3.0.1
|
6 |
+
Tested up to: 5.4.1
|
7 |
+
Stable tag: 2.4.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
96 |
|
97 |
== Changelog ==
|
98 |
|
99 |
+
= 2.4.5 =
|
100 |
+
* Fix permissions clearout method.
|
101 |
+
|
102 |
= 2.4.4 =
|
103 |
* Fix php error.
|
104 |
|
203 |
|
204 |
== Upgrade Notice ==
|
205 |
|
206 |
+
= 2.4.5 =
|
207 |
+
* Fix permissions clearout method.
|
208 |
+
|
209 |
= 2.4.4 =
|
210 |
* Fix php error.
|
211 |
|
simple-banner.php
CHANGED
@@ -3,16 +3,16 @@
|
|
3 |
* Plugin Name: Simple Banner
|
4 |
* Plugin URI: https://github.com/rpetersen29/simple-banner
|
5 |
* Description: Display a simple banner at the top of your website.
|
6 |
-
* Version: 2.4.
|
7 |
* Author: Ryan Petersen
|
8 |
* Author URI: http://rpetersen29.github.io/
|
9 |
* License: GPL2
|
10 |
*
|
11 |
* @package Simple Banner
|
12 |
-
* @version 2.4.
|
13 |
* @author Ryan Petersen <rpetersen.dev@gmail.com>
|
14 |
*/
|
15 |
-
define ('VERSION', '2.4.
|
16 |
|
17 |
add_action( 'wp_enqueue_scripts', 'simple_banner' );
|
18 |
function simple_banner() {
|
@@ -394,14 +394,14 @@ function simple_banner_settings_page() {
|
|
394 |
?>
|
395 |
</dl>
|
396 |
</div>
|
397 |
-
<?php
|
398 |
-
if (get_option('pro_version_enabled')) {
|
399 |
-
echo '<input type="text" hidden id="permissions_array" name="permissions_array" value="'. get_option('permissions_array') . '" />';
|
400 |
-
}
|
401 |
-
?>
|
402 |
</td>
|
403 |
</tr>
|
404 |
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
|
405 |
<!-- Disabled Pages -->
|
406 |
<tr valign="top">
|
407 |
<th scope="row">
|
3 |
* Plugin Name: Simple Banner
|
4 |
* Plugin URI: https://github.com/rpetersen29/simple-banner
|
5 |
* Description: Display a simple banner at the top of your website.
|
6 |
+
* Version: 2.4.5
|
7 |
* Author: Ryan Petersen
|
8 |
* Author URI: http://rpetersen29.github.io/
|
9 |
* License: GPL2
|
10 |
*
|
11 |
* @package Simple Banner
|
12 |
+
* @version 2.4.5
|
13 |
* @author Ryan Petersen <rpetersen.dev@gmail.com>
|
14 |
*/
|
15 |
+
define ('VERSION', '2.4.5');
|
16 |
|
17 |
add_action( 'wp_enqueue_scripts', 'simple_banner' );
|
18 |
function simple_banner() {
|
394 |
?>
|
395 |
</dl>
|
396 |
</div>
|
|
|
|
|
|
|
|
|
|
|
397 |
</td>
|
398 |
</tr>
|
399 |
<?php endif; ?>
|
400 |
+
<?php
|
401 |
+
if (get_option('pro_version_enabled')) {
|
402 |
+
echo '<input type="text" hidden id="permissions_array" name="permissions_array" value="'. get_option('permissions_array') . '" />';
|
403 |
+
}
|
404 |
+
?>
|
405 |
<!-- Disabled Pages -->
|
406 |
<tr valign="top">
|
407 |
<th scope="row">
|