Simple Banner - Version 2.12.1

Version Description

  • Bug fix
Download this release

Release Info

Developer rpetersen29
Plugin Icon 128x128 Simple Banner
Version 2.12.1
Comparing to
See all releases

Code changes from version 2.12.0 to 2.12.1

Files changed (2) hide show
  1. readme.txt +7 -1
  2. 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: 6.0.1
7
- Stable tag: 2.12.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -120,6 +120,9 @@ Set your banner position to <code>relative</code> and try this in 'Website Custo
120
 
121
  == Changelog ==
122
 
 
 
 
123
  = 2.12.0 =
124
  * Security improvements
125
 
@@ -300,6 +303,9 @@ Set your banner position to <code>relative</code> and try this in 'Website Custo
300
 
301
  == Upgrade Notice ==
302
 
 
 
 
303
  = 2.12.0 =
304
  * Security improvements
305
 
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: 6.0.1
7
+ Stable tag: 2.12.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
120
 
121
  == Changelog ==
122
 
123
+ = 2.12.1 =
124
+ * Bug fix
125
+
126
  = 2.12.0 =
127
  * Security improvements
128
 
303
 
304
  == Upgrade Notice ==
305
 
306
+ = 2.12.1 =
307
+ * Bug fix
308
+
309
  = 2.12.0 =
310
  * Security improvements
311
 
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.12.0
7
  * Author: Ryan Petersen
8
  * Author URI: http://rpetersen29.github.io/
9
  * License: GPL2
10
  *
11
  * @package Simple Banner
12
- * @version 2.12.0
13
  * @author Ryan Petersen <rpetersen.dev@gmail.com>
14
  */
15
- define ('SB_VERSION', '2.12.0');
16
 
17
  register_activation_hook( __FILE__, 'simple_banner_activate' );
18
  function simple_banner_activate() {
@@ -85,7 +85,7 @@ function simple_banner() {
85
  );
86
  // Enqueue the script
87
  wp_register_script('simple-banner-script', plugin_dir_url( __FILE__ ) . 'simple-banner.js', array( 'jquery' ), SB_VERSION);
88
- wp_add_inline_script('simple-banner-script', 'const simpleBannerScriptParams = ' . wp_json_encode($script_params));
89
  wp_enqueue_script('simple-banner-script');
90
  }
91
 
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.12.1
7
  * Author: Ryan Petersen
8
  * Author URI: http://rpetersen29.github.io/
9
  * License: GPL2
10
  *
11
  * @package Simple Banner
12
+ * @version 2.12.1
13
  * @author Ryan Petersen <rpetersen.dev@gmail.com>
14
  */
15
+ define ('SB_VERSION', '2.12.1');
16
 
17
  register_activation_hook( __FILE__, 'simple_banner_activate' );
18
  function simple_banner_activate() {
85
  );
86
  // Enqueue the script
87
  wp_register_script('simple-banner-script', plugin_dir_url( __FILE__ ) . 'simple-banner.js', array( 'jquery' ), SB_VERSION);
88
+ wp_add_inline_script('simple-banner-script', 'const simpleBannerScriptParams = ' . wp_json_encode($script_params), 'before');
89
  wp_enqueue_script('simple-banner-script');
90
  }
91