Version Description
- Banner now shows in sidebar upon activation.
Download this release
Release Info
Developer | rpetersen29 |
Plugin | Simple Banner |
Version | 2.4.6 |
Comparing to | |
See all releases |
Code changes from version 2.4.5 to 2.4.6
- readme.txt +7 -1
- simple-banner.php +8 -3
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.
|
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.5 =
|
100 |
* Fix permissions clearout method.
|
101 |
|
@@ -203,6 +206,9 @@ This feature is being actively developed, in the meantime you can use this custo
|
|
203 |
|
204 |
== Upgrade Notice ==
|
205 |
|
|
|
|
|
|
|
206 |
= 2.4.5 =
|
207 |
* Fix permissions clearout method.
|
208 |
|
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.6
|
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.6 =
|
100 |
+
* Banner now shows in sidebar upon activation.
|
101 |
+
|
102 |
= 2.4.5 =
|
103 |
* Fix permissions clearout method.
|
104 |
|
206 |
|
207 |
== Upgrade Notice ==
|
208 |
|
209 |
+
= 2.4.6 =
|
210 |
+
* Banner now shows in sidebar upon activation.
|
211 |
+
|
212 |
= 2.4.5 =
|
213 |
* Fix permissions clearout method.
|
214 |
|
simple-banner.php
CHANGED
@@ -3,16 +3,21 @@
|
|
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() {
|
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.6
|
7 |
* Author: Ryan Petersen
|
8 |
* Author URI: http://rpetersen29.github.io/
|
9 |
* License: GPL2
|
10 |
*
|
11 |
* @package Simple Banner
|
12 |
+
* @version 2.4.6
|
13 |
* @author Ryan Petersen <rpetersen.dev@gmail.com>
|
14 |
*/
|
15 |
+
define ('VERSION', '2.4.6');
|
16 |
+
|
17 |
+
register_activation_hook( __FILE__, 'simple_banner_activate' );
|
18 |
+
function simple_banner_activate() {
|
19 |
+
add_action('admin_menu', 'simple_banner_menu');
|
20 |
+
}
|
21 |
|
22 |
add_action( 'wp_enqueue_scripts', 'simple_banner' );
|
23 |
function simple_banner() {
|