WPFront Notification Bar - Version 1.9.2

Version Description

  • XSS fix on the settings page.
Download this release

Release Info

Developer syammohanm
Plugin Icon 128x128 WPFront Notification Bar
Version 1.9.2
Comparing to
See all releases

Code changes from version 1.9.1 to 1.9.2

classes/class-wpfront-notification-bar.php CHANGED
@@ -35,7 +35,7 @@ if (!class_exists('WPFront_Notification_Bar')) {
35
  class WPFront_Notification_Bar {
36
 
37
  //Constants
38
- const VERSION = '1.9.1.04012';
39
  const OPTIONS_GROUP_NAME = 'wpfront-notification-bar-options-group';
40
  const OPTION_NAME = 'wpfront-notification-bar-options';
41
  const PLUGIN_SLUG = 'wpfront-notification-bar';
35
  class WPFront_Notification_Bar {
36
 
37
  //Constants
38
+ const VERSION = '1.9.2.07163';
39
  const OPTIONS_GROUP_NAME = 'wpfront-notification-bar-options-group';
40
  const OPTION_NAME = 'wpfront-notification-bar-options';
41
  const PLUGIN_SLUG = 'wpfront-notification-bar';
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: notification bar, wordpress notification bar, top bar, bottom bar, notific
5
  Requires at least: 5.0
6
  Tested up to: 5.7
7
  Requires PHP: 7.0
8
- Stable tag: 1.9.1
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -68,6 +68,9 @@ The new version(1.3) allows you to filter the bar based on user roles. In this c
68
 
69
  == Changelog ==
70
 
 
 
 
71
  = 1.9.1 =
72
  * Compatibility fix.
73
 
@@ -150,6 +153,9 @@ The new version(1.3) allows you to filter the bar based on user roles. In this c
150
 
151
  == Upgrade Notice ==
152
 
 
 
 
153
  = 1.9.1 =
154
  * Compatibility fix.
155
 
@@ -201,5 +207,3 @@ The new version(1.3) allows you to filter the bar based on user roles. In this c
201
 
202
  = 1.0 =
203
  * Initial release
204
-
205
-
5
  Requires at least: 5.0
6
  Tested up to: 5.7
7
  Requires PHP: 7.0
8
+ Stable tag: 1.9.2
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
68
 
69
  == Changelog ==
70
 
71
+ = 1.9.2 =
72
+ * XSS fix on the settings page.
73
+
74
  = 1.9.1 =
75
  * Compatibility fix.
76
 
153
 
154
  == Upgrade Notice ==
155
 
156
+ = 1.9.2 =
157
+ * XSS fix on the settings page.
158
+
159
  = 1.9.1 =
160
  * Compatibility fix.
161
 
207
 
208
  = 1.0 =
209
  * Initial release
 
 
templates/options-template.php CHANGED
@@ -278,7 +278,7 @@
278
  <?php echo $this->options->message_label(); ?>
279
  </th>
280
  <td>
281
- <textarea rows="5" cols="75" name="<?php echo $this->options->message_name(); ?>"><?php echo $this->options->message(); ?></textarea>
282
  <br />
283
  <span class="description"><?php echo esc_html(__('[HTML tags are allowed. e.g. Add <br /> for break.]')); ?></span>
284
  </td>
@@ -347,7 +347,7 @@
347
  <span><?php echo $this->options->button_action_javascript_label(); ?></span>
348
  </label>
349
  <br />
350
- <textarea rows="5" cols="75" name="<?php echo $this->options->button_action_javascript_name(); ?>"><?php echo $this->options->button_action_javascript(); ?></textarea>
351
  </td>
352
  </tr>
353
  <tr>
@@ -610,7 +610,7 @@
610
  <?php echo $this->options->custom_css_label(); ?>
611
  </th>
612
  <td>
613
- <textarea name="<?php echo $this->options->custom_css_name(); ?>" rows="10" cols="75"><?php echo $this->options->custom_css(); ?></textarea>
614
  </td>
615
  </tr>
616
  </table>
278
  <?php echo $this->options->message_label(); ?>
279
  </th>
280
  <td>
281
+ <textarea rows="5" cols="75" name="<?php echo $this->options->message_name(); ?>"><?php echo esc_textarea($this->options->message()); ?></textarea>
282
  <br />
283
  <span class="description"><?php echo esc_html(__('[HTML tags are allowed. e.g. Add <br /> for break.]')); ?></span>
284
  </td>
347
  <span><?php echo $this->options->button_action_javascript_label(); ?></span>
348
  </label>
349
  <br />
350
+ <textarea rows="5" cols="75" name="<?php echo $this->options->button_action_javascript_name(); ?>"><?php echo esc_textarea($this->options->button_action_javascript()); ?></textarea>
351
  </td>
352
  </tr>
353
  <tr>
610
  <?php echo $this->options->custom_css_label(); ?>
611
  </th>
612
  <td>
613
+ <textarea name="<?php echo $this->options->custom_css_name(); ?>" rows="10" cols="75"><?php echo esc_textarea($this->options->custom_css()); ?></textarea>
614
  </td>
615
  </tr>
616
  </table>
wpfront-notification-bar.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WPFront Notification Bar
4
  * Plugin URI: http://wpfront.com/notification-bar-plugin/
5
  * Description: Easily lets you create a bar on top or bottom to display a notification.
6
- * Version: 1.9.1.04012
7
  * Requires at least: 5.0
8
  * Requires PHP: 7.0
9
  * Author: Syam Mohan
3
  * Plugin Name: WPFront Notification Bar
4
  * Plugin URI: http://wpfront.com/notification-bar-plugin/
5
  * Description: Easily lets you create a bar on top or bottom to display a notification.
6
+ * Version: 1.9.2.07163
7
  * Requires at least: 5.0
8
  * Requires PHP: 7.0
9
  * Author: Syam Mohan