myStickymenu - Version 2.5.2

Version Description

Bugs fixed

Download this release

Release Info

Developer galdub
Plugin Icon 128x128 myStickymenu
Version 2.5.2
Comparing to
See all releases

Code changes from version 2.5.1 to 2.5.2

Files changed (2) hide show
  1. mystickymenu.php +3 -3
  2. readme.txt +3 -1
mystickymenu.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: myStickymenu
4
  Plugin URI: https://premio.io/
5
  Description: Simple sticky (fixed on top) menu implementation for navigation menu and Welcome bar for announcements and promotion. After install go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.
6
- Version: 2.5.1
7
  Author: Premio
8
  Author URI: https://premio.io/downloads/mystickymenu/
9
  Text Domain: mystickymenu
@@ -12,7 +12,7 @@ License: GPLv2 or later
12
  */
13
 
14
  defined('ABSPATH') or die("Cannot access pages directly.");
15
- define( 'MYSTICKY_VERSION', '2.5.1' );
16
  define('MYSTICKYMENU_URL', plugins_url('/', __FILE__)); // Define Plugin URL
17
  define('MYSTICKYMENU_PATH', plugin_dir_path(__FILE__)); // Define Plugin Directory Path
18
 
@@ -700,7 +700,7 @@ class MyStickyMenuBackend
700
  if (isset($_POST['mysticky_option_welcomebar']) && !empty($_POST['mysticky_option_welcomebar']) && isset($_POST['nonce'])) {
701
  if(!empty($_POST['nonce']) && wp_verify_nonce($_POST['nonce'], 'mysticky_option_welcomebar_update')) {
702
  $mysticky_option_welcomebar = filter_var_array( $_POST['mysticky_option_welcomebar'], FILTER_SANITIZE_STRING );
703
- $mysticky_option_welcomebar['mysticky_welcomebar_bar_text'] = $_POST['mysticky_option_welcomebar']['mysticky_welcomebar_bar_text'];
704
  $mysticky_option_welcomebar['mysticky_welcomebar_height'] = 60;
705
  $mysticky_option_welcomebar['mysticky_welcomebar_device_desktop'] = 'desktop';
706
  $mysticky_option_welcomebar['mysticky_welcomebar_device_mobile'] = 'mobile';
3
  Plugin Name: myStickymenu
4
  Plugin URI: https://premio.io/
5
  Description: Simple sticky (fixed on top) menu implementation for navigation menu and Welcome bar for announcements and promotion. After install go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.
6
+ Version: 2.5.2
7
  Author: Premio
8
  Author URI: https://premio.io/downloads/mystickymenu/
9
  Text Domain: mystickymenu
12
  */
13
 
14
  defined('ABSPATH') or die("Cannot access pages directly.");
15
+ define( 'MYSTICKY_VERSION', '2.5.2' );
16
  define('MYSTICKYMENU_URL', plugins_url('/', __FILE__)); // Define Plugin URL
17
  define('MYSTICKYMENU_PATH', plugin_dir_path(__FILE__)); // Define Plugin Directory Path
18
 
700
  if (isset($_POST['mysticky_option_welcomebar']) && !empty($_POST['mysticky_option_welcomebar']) && isset($_POST['nonce'])) {
701
  if(!empty($_POST['nonce']) && wp_verify_nonce($_POST['nonce'], 'mysticky_option_welcomebar_update')) {
702
  $mysticky_option_welcomebar = filter_var_array( $_POST['mysticky_option_welcomebar'], FILTER_SANITIZE_STRING );
703
+ $mysticky_option_welcomebar['mysticky_welcomebar_bar_text'] = wp_kses_post($_POST['mysticky_option_welcomebar']['mysticky_welcomebar_bar_text']);
704
  $mysticky_option_welcomebar['mysticky_welcomebar_height'] = 60;
705
  $mysticky_option_welcomebar['mysticky_welcomebar_device_desktop'] = 'desktop';
706
  $mysticky_option_welcomebar['mysticky_welcomebar_device_mobile'] = 'mobile';
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: tomeraharon, galdub, premio
3
  Tags:floating bar, notification bar, menu, header, sticky menu, sticky header, floating menu, floating navigation menu, navigation menu, navigation, sticky navigation menu, welcome bar, hello bar, top bar, sticky bar
4
  Requires at least: 3.5.1
5
  Tested up to: 5.7
6
- Stable tag: 2.5.1
7
  License: GPLv2 or later
8
 
9
  Create a beautiful welcome notification bar. This sticky menu plugin will also make your menu or header stick to the top of page, when scrolled down and up.
@@ -267,6 +267,8 @@ After installing the plugin, you’ll have the option to turn on the welcome bar
267
 
268
 
269
  == Changelog ==
 
 
270
  = 2.5.1 =
271
  WordPress 5.7 adjustments
272
  = 2.5 =
3
  Tags:floating bar, notification bar, menu, header, sticky menu, sticky header, floating menu, floating navigation menu, navigation menu, navigation, sticky navigation menu, welcome bar, hello bar, top bar, sticky bar
4
  Requires at least: 3.5.1
5
  Tested up to: 5.7
6
+ Stable tag: 2.5.2
7
  License: GPLv2 or later
8
 
9
  Create a beautiful welcome notification bar. This sticky menu plugin will also make your menu or header stick to the top of page, when scrolled down and up.
267
 
268
 
269
  == Changelog ==
270
+ = 2.5.2 =
271
+ Bugs fixed
272
  = 2.5.1 =
273
  WordPress 5.7 adjustments
274
  = 2.5 =