Max Mega Menu - Version 2.4.2

Version Description

  • Improvement: Add Mobile Font (Hover) and Mobile Menu Item Background (Hover) options to theme editor
  • Fix: Add vendor prefixes to toggle block CSS to improve compatibility for old iPhones
  • Fix: Desktop menu visibility when Mobile Effect is set to slide and the browser is resized between desktop - mobile - desktop
  • Fix: Indent forth and fifth level menu items in grid layout sub menus
  • Fix: Remove webkit tap highlight color on mobile toggle bar
  • Improvement: Enable dynamic_sidebar_params filter when MEGAMENU_DYNAMIC_SIDEBAR_PARAMS constant is true
  • Improvement: CSS overrides/resets - word-wrap on menu item titles, transitions on anchors, visibility on h4 elements
  • Improvement: Use "max-mega-menu" class instead of "mega-menu" to avoid conflicts with themes that already use a "mega-menu" class
Download this release

Release Info

Developer megamenu
Plugin Icon 128x128 Max Mega Menu
Version 2.4.2
Comparing to
See all releases

Code changes from version 2.4.1.5.1 to 2.4.2

classes/menu-item-manager.class.php CHANGED
@@ -275,7 +275,7 @@ class Mega_Menu_Menu_Item_Manager {
275
 
276
  $return = "<div id='megamenu-grid' class='{$class}' style='display: {$display}'>";
277
 
278
- if ( version_compare( '2.3.9', $css_version, '>' ) ) {
279
  $link = "<a href='" . esc_attr( admin_url( 'admin.php?page=maxmegamenu_tools' ) ) . "'>" . __("Mega Menu") . " > " . __("Tools") . "</a>";
280
  $return .= "<div class='notice notice-success'><p>";
281
  $return .= sprintf( __("Your menu CSS needs to be updated first. Please go to %s and Clear the CSS Cache (you will only need to do this once).", "megamenu") , $link);
275
 
276
  $return = "<div id='megamenu-grid' class='{$class}' style='display: {$display}'>";
277
 
278
+ if ( $css_version && version_compare( $css_version, '2.3.9', '<=' ) ) {
279
  $link = "<a href='" . esc_attr( admin_url( 'admin.php?page=maxmegamenu_tools' ) ) . "'>" . __("Mega Menu") . " > " . __("Tools") . "</a>";
280
  $return .= "<div class='notice notice-success'><p>";
281
  $return .= sprintf( __("Your menu CSS needs to be updated first. Please go to %s and Clear the CSS Cache (you will only need to do this once).", "megamenu") , $link);
classes/style-manager.class.php CHANGED
@@ -555,7 +555,7 @@ final class Mega_Menu_Style_Manager {
555
  * When a user (or theme developer) creates their own copy of megamenu.scss it
556
  * _will_ become outdated as the plugin is updated and the menu HTML changes.
557
  *
558
- * Instead of using a custom SCSS file, override only the absolutel minimum CSS in the
559
  * Menu Theme > Custom Styling section.
560
  */
561
  $scss = file_get_contents( MEGAMENU_PATH . trailingslashit('css') . 'mixin.scss' );
555
  * When a user (or theme developer) creates their own copy of megamenu.scss it
556
  * _will_ become outdated as the plugin is updated and the menu HTML changes.
557
  *
558
+ * Instead of using a custom SCSS file, override only the absolute minimum CSS in the
559
  * Menu Theme > Custom Styling section.
560
  */
561
  $scss = file_get_contents( MEGAMENU_PATH . trailingslashit('css') . 'mixin.scss' );
css/megamenu.scss CHANGED
@@ -543,13 +543,13 @@
543
 
544
  li.mega-menu-item ul.mega-sub-menu {
545
  margin-left: 10px;
546
-
547
- li.mega-menu-item ul.mega-sub-menu {
548
- margin-left: 20px;
549
- }
550
  }
551
  }
552
 
 
 
 
 
553
  > li.mega-menu-item,
554
  li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
555
  color: $panel_font_color;
@@ -933,6 +933,7 @@
933
  -khtml-user-select: none;
934
  -moz-user-select: none;
935
  -ms-user-select: none;
 
936
  outline: none;
937
  white-space: nowrap;
938
 
543
 
544
  li.mega-menu-item ul.mega-sub-menu {
545
  margin-left: 10px;
 
 
 
 
546
  }
547
  }
548
 
549
+ li.mega-menu-column > ul.mega-sub-menu ul.mega-sub-menu ul.mega-sub-menu {
550
+ margin-left: 10px;
551
+ }
552
+
553
  > li.mega-menu-item,
554
  li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item {
555
  color: $panel_font_color;
933
  -khtml-user-select: none;
934
  -moz-user-select: none;
935
  -ms-user-select: none;
936
+ -webkit-tap-highlight-color: transparent;
937
  outline: none;
938
  white-space: nowrap;
939
 
megamenu.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Max Mega Menu
5
  * Plugin URI: https://www.megamenu.com
6
  * Description: Easy to use drag & drop WordPress Mega Menu plugin. Create Mega Menus using Widgets. Responsive, retina & touch ready.
7
- * Version: 2.4.1.5.1
8
  * Author: Tom Hemsley
9
  * Author URI: https://www.megamenu.com
10
  * License: GPL-2.0+
@@ -26,7 +26,7 @@ final class Mega_Menu {
26
  /**
27
  * @var string
28
  */
29
- public $version = '2.4.1.5.1';
30
 
31
 
32
  /**
4
  * Plugin Name: Max Mega Menu
5
  * Plugin URI: https://www.megamenu.com
6
  * Description: Easy to use drag & drop WordPress Mega Menu plugin. Create Mega Menus using Widgets. Responsive, retina & touch ready.
7
+ * Version: 2.4.2
8
  * Author: Tom Hemsley
9
  * Author URI: https://www.megamenu.com
10
  * License: GPL-2.0+
26
  /**
27
  * @var string
28
  */
29
+ public $version = '2.4.2';
30
 
31
 
32
  /**
readme.txt CHANGED
@@ -108,20 +108,21 @@ See https://www.megamenu.com for more screenshots
108
 
109
  == Changelog ==
110
 
111
- = 2.4.1.6 =
112
 
113
- * Fix: Add vendor prefixes to toggle block CSS to add compatibility for old iPhones
 
114
  * Fix: Desktop menu visibility when Mobile Effect is set to slide and the browser is resized between desktop - mobile - desktop
 
 
115
  * Improvement: Enable dynamic_sidebar_params filter when MEGAMENU_DYNAMIC_SIDEBAR_PARAMS constant is true
116
- * Improvement: Add Mobile Font (Hover) and Mobile Menu Item Background (Hover) options to theme editor
117
  * Improvement: CSS overrides/resets - word-wrap on menu item titles, transitions on anchors, visibility on h4 elements
118
  * Improvement: Use "max-mega-menu" class instead of "mega-menu" to avoid conflicts with themes that already use a "mega-menu" class
119
- * Improvement: Small JavaScript update
120
 
121
  = 2.4.1.5 =
122
 
123
  * Improvement: Detect Hummingbird as a caching plugin
124
- * Improvement: Accessbility - add aria-label attribute to links where "Hide text" has been enabled
125
  * Fix: Mobile toggle block logo width
126
 
127
  = 2.4.1.4 =
108
 
109
  == Changelog ==
110
 
111
+ = 2.4.2 =
112
 
113
+ * Improvement: Add Mobile Font (Hover) and Mobile Menu Item Background (Hover) options to theme editor
114
+ * Fix: Add vendor prefixes to toggle block CSS to improve compatibility for old iPhones
115
  * Fix: Desktop menu visibility when Mobile Effect is set to slide and the browser is resized between desktop - mobile - desktop
116
+ * Fix: Indent forth and fifth level menu items in grid layout sub menus
117
+ * Fix: Remove webkit tap highlight color on mobile toggle bar
118
  * Improvement: Enable dynamic_sidebar_params filter when MEGAMENU_DYNAMIC_SIDEBAR_PARAMS constant is true
 
119
  * Improvement: CSS overrides/resets - word-wrap on menu item titles, transitions on anchors, visibility on h4 elements
120
  * Improvement: Use "max-mega-menu" class instead of "mega-menu" to avoid conflicts with themes that already use a "mega-menu" class
 
121
 
122
  = 2.4.1.5 =
123
 
124
  * Improvement: Detect Hummingbird as a caching plugin
125
+ * Improvement: Accessibility - add aria-label attribute to links where "Hide text" has been enabled
126
  * Fix: Mobile toggle block logo width
127
 
128
  = 2.4.1.4 =