Version Description
- Bug fixes. Remove some unnecessary script params.
Download this release
Release Info
Developer | rpetersen29 |
Plugin | Simple Banner |
Version | 2.10.1 |
Comparing to | |
See all releases |
Code changes from version 2.10.0 to 2.10.1
- readme.txt +7 -1
- simple-banner.php +4 -4
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/rpetersenDev
|
|
4 |
Tags: banner, simple, top, bar, announcement, top bar, topbar, bulletin, notification, notice, cta, free
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 5.7
|
7 |
-
Stable tag: 2.10.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -118,6 +118,9 @@ Set your banner position to <code>relative</code> and try this in 'Website Custo
|
|
118 |
|
119 |
== Changelog ==
|
120 |
|
|
|
|
|
|
|
121 |
= 2.10.0 =
|
122 |
* Bug fixes for disabled pages checkboxes, added experimental feature to disable banner on posts.
|
123 |
|
@@ -265,6 +268,9 @@ Set your banner position to <code>relative</code> and try this in 'Website Custo
|
|
265 |
|
266 |
== Upgrade Notice ==
|
267 |
|
|
|
|
|
|
|
268 |
= 2.10.0 =
|
269 |
* Bug fixes for disabled pages checkboxes, added experimental feature to disable banner on posts.
|
270 |
|
4 |
Tags: banner, simple, top, bar, announcement, top bar, topbar, bulletin, notification, notice, cta, free
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 5.7
|
7 |
+
Stable tag: 2.10.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
118 |
|
119 |
== Changelog ==
|
120 |
|
121 |
+
= 2.10.1 =
|
122 |
+
* Bug fixes. Remove some unnecessary script params.
|
123 |
+
|
124 |
= 2.10.0 =
|
125 |
* Bug fixes for disabled pages checkboxes, added experimental feature to disable banner on posts.
|
126 |
|
268 |
|
269 |
== Upgrade Notice ==
|
270 |
|
271 |
+
= 2.10.1 =
|
272 |
+
* Bug fixes. Remove some unnecessary script params.
|
273 |
+
|
274 |
= 2.10.0 =
|
275 |
* Bug fixes for disabled pages checkboxes, added experimental feature to disable banner on posts.
|
276 |
|
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.10.
|
7 |
* Author: Ryan Petersen
|
8 |
* Author URI: http://rpetersen29.github.io/
|
9 |
* License: GPL2
|
10 |
*
|
11 |
* @package Simple Banner
|
12 |
-
* @version 2.10.
|
13 |
* @author Ryan Petersen <rpetersen.dev@gmail.com>
|
14 |
*/
|
15 |
-
define ('VERSION', '2.10.
|
16 |
|
17 |
register_activation_hook( __FILE__, 'simple_banner_activate' );
|
18 |
function simple_banner_activate() {
|
@@ -60,7 +60,7 @@ function simple_banner() {
|
|
60 |
'debug_mode' => get_option('debug_mode'),
|
61 |
'id' => get_the_ID(),
|
62 |
'disabled_pages_array' => get_disabled_pages_array(),
|
63 |
-
'post_object' => get_post_object(),
|
64 |
'is_current_page_a_post' => get_is_current_page_a_post(),
|
65 |
'disabled_on_posts' => get_disabled_on_posts(),
|
66 |
'simple_banner_font_size' => get_option('simple_banner_font_size'),
|
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.10.1
|
7 |
* Author: Ryan Petersen
|
8 |
* Author URI: http://rpetersen29.github.io/
|
9 |
* License: GPL2
|
10 |
*
|
11 |
* @package Simple Banner
|
12 |
+
* @version 2.10.1
|
13 |
* @author Ryan Petersen <rpetersen.dev@gmail.com>
|
14 |
*/
|
15 |
+
define ('VERSION', '2.10.1');
|
16 |
|
17 |
register_activation_hook( __FILE__, 'simple_banner_activate' );
|
18 |
function simple_banner_activate() {
|
60 |
'debug_mode' => get_option('debug_mode'),
|
61 |
'id' => get_the_ID(),
|
62 |
'disabled_pages_array' => get_disabled_pages_array(),
|
63 |
+
// 'post_object' => get_post_object(),
|
64 |
'is_current_page_a_post' => get_is_current_page_a_post(),
|
65 |
'disabled_on_posts' => get_disabled_on_posts(),
|
66 |
'simple_banner_font_size' => get_option('simple_banner_font_size'),
|