myStickymenu - Version 2.4.3

Version Description

Infrastructure changes

Download this release

Release Info

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

Code changes from version 2.4.2 to 2.4.3

Files changed (2) hide show
  1. mystickymenu.php +5 -5
  2. readme.txt +4 -2
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.4.2
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.4.2' );
16
  require_once("mystickymenu-fonts.php");
17
  require_once("welcome-bar.php");
18
 
@@ -966,7 +966,7 @@ class MyStickyMenuBackend
966
  'myfixed_cssstyle' => '#mysticky-nav .myfixed { margin:0 auto; float:none; border:0px; background:none; max-width:100%; }'
967
  );
968
 
969
- if ( get_option('mysticky_option_name') == false ) {
970
  $status = get_option("sticky_header_status");
971
  if($status == false) {
972
  update_option("sticky_header_status", "done");
@@ -981,7 +981,7 @@ class MyStickyMenuBackend
981
  }
982
  }
983
 
984
- if(isset($_POST['reset_mysticky_options'])) {
985
  if(isset($_REQUEST['nonce']) && !empty($_REQUEST['nonce']) && wp_verify_nonce($_REQUEST['nonce'], 'mysticky_option_backend_reset_nonce')) {
986
  update_option('mysticky_option_name', $default);
987
  } else {
@@ -989,7 +989,7 @@ class MyStickyMenuBackend
989
  }
990
  }
991
 
992
- if ( !get_option( 'update_mysticky_version_2_6') ) {
993
  $mysticky_option_name = get_option( 'mysticky_option_name' );
994
  $mysticky_option_name['mysticky_class_id_selector'] = 'custom';
995
  if ($mysticky_option_name['myfixed_fade'] == 'on'){
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.4.3
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.4.3' );
16
  require_once("mystickymenu-fonts.php");
17
  require_once("welcome-bar.php");
18
 
966
  'myfixed_cssstyle' => '#mysticky-nav .myfixed { margin:0 auto; float:none; border:0px; background:none; max-width:100%; }'
967
  );
968
 
969
+ if ( get_option('mysticky_option_name') == false && current_user_can( 'manage_options' ) ) {
970
  $status = get_option("sticky_header_status");
971
  if($status == false) {
972
  update_option("sticky_header_status", "done");
981
  }
982
  }
983
 
984
+ if(isset($_POST['reset_mysticky_options']) && current_user_can( 'manage_options' )) {
985
  if(isset($_REQUEST['nonce']) && !empty($_REQUEST['nonce']) && wp_verify_nonce($_REQUEST['nonce'], 'mysticky_option_backend_reset_nonce')) {
986
  update_option('mysticky_option_name', $default);
987
  } else {
989
  }
990
  }
991
 
992
+ if ( !get_option( 'update_mysticky_version_2_6') && current_user_can( 'manage_options' )) {
993
  $mysticky_option_name = get_option( 'mysticky_option_name' );
994
  $mysticky_option_name['mysticky_class_id_selector'] = 'custom';
995
  if ($mysticky_option_name['myfixed_fade'] == 'on'){
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: tomeraharon, galdub, premio
3
  Tags: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, floating bar, notification bar
4
  Requires at least: 3.5.1
5
- Tested up to: 5.4
6
- Stable tag: 2.4.2
7
  License: GPLv2 or later
8
 
9
  This sticky menu plugin will make your menu or header stick to the top of page, when scrolled down and up. Also create a beautiful welcome notification bar with it.
@@ -265,6 +265,8 @@ After installing the plugin, you’ll have the option to turn on the welcome bar
265
 
266
 
267
  == Changelog ==
 
 
268
  = 2.4.2 =
269
  iPhone and iPad notification bar and sticky menu frontend issues fixed
270
  = 2.4.1 =
2
  Contributors: tomeraharon, galdub, premio
3
  Tags: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, floating bar, notification bar
4
  Requires at least: 3.5.1
5
+ Tested up to: 5.5
6
+ Stable tag: 2.4.3
7
  License: GPLv2 or later
8
 
9
  This sticky menu plugin will make your menu or header stick to the top of page, when scrolled down and up. Also create a beautiful welcome notification bar with it.
265
 
266
 
267
  == Changelog ==
268
+ = 2.4.3 =
269
+ Infrastructure changes
270
  = 2.4.2 =
271
  iPhone and iPad notification bar and sticky menu frontend issues fixed
272
  = 2.4.1 =