myStickymenu - Version 2.3.1

Version Description

If the sticky menu is on, and welcome bar is disabled, google fonts aren't downloaded

Download this release

Release Info

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

Code changes from version 2.3 to 2.3.1

Files changed (2) hide show
  1. mystickymenu.php +7 -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.3
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.3' );
16
  require_once("mystickymenu-fonts.php");
17
  require_once("welcome-bar.php");
18
 
@@ -1074,7 +1074,11 @@ class MyStickyMenuFrontend
1074
  } else {
1075
  $top = "false";
1076
  }
1077
- wp_enqueue_style('google-fonts', $this->mystickymenu_google_fonts_url(),array(), MYSTICKY_VERSION );
 
 
 
 
1078
 
1079
  // needed for update 1.7 => 1.8 ... will be removed in the future ()
1080
  if (isset($mysticky_options['mysticky_active_on_height_home'])) {
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.3.1
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.3.1' );
16
  require_once("mystickymenu-fonts.php");
17
  require_once("welcome-bar.php");
18
 
1074
  } else {
1075
  $top = "false";
1076
  }
1077
+
1078
+ $welcomebar = get_option( 'mysticky_option_welcomebar' );
1079
+ if ( isset($welcomebar['mysticky_welcomebar_enable']) && $welcomebar['mysticky_welcomebar_enable'] == 1 ) {
1080
+ wp_enqueue_style('google-fonts', $this->mystickymenu_google_fonts_url(),array(), MYSTICKY_VERSION );
1081
+ }
1082
 
1083
  // needed for update 1.7 => 1.8 ... will be removed in the future ()
1084
  if (isset($mysticky_options['mysticky_active_on_height_home'])) {
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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.3
6
- Stable tag: 2.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 bar with it.
@@ -258,6 +258,8 @@ After installing the plugin, you’ll have the option to turn on the welcome bar
258
 
259
 
260
  == Changelog ==
 
 
261
  = 2.3 =
262
  Fixed some appearance issues
263
  = 2.2.9 =
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.3
6
+ Stable tag: 2.3.1
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 bar with it.
258
 
259
 
260
  == Changelog ==
261
+ = 2.3.1 =
262
+ If the sticky menu is on, and welcome bar is disabled, google fonts aren't downloaded
263
  = 2.3 =
264
  Fixed some appearance issues
265
  = 2.2.9 =