Max Mega Menu - Version 2.7.1.2

Version Description

  • Fix: Menu item alignment when top padding has been applied to top level menu items
Download this release

Release Info

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

Code changes from version 2.7.1.1 to 2.7.1.2

Files changed (3) hide show
  1. css/megamenu.scss +1 -1
  2. megamenu.php +2 -2
  3. readme.txt +24 -20
css/megamenu.scss CHANGED
@@ -898,7 +898,7 @@
898
 
899
  > a.mega-menu-link > span.mega-indicator {
900
  float: right;
901
- height: auto;
902
  width: auto;
903
  background: transparent;
904
  position: relative;
898
 
899
  > a.mega-menu-link > span.mega-indicator {
900
  float: right;
901
+ height: 100%;
902
  width: auto;
903
  background: transparent;
904
  position: relative;
megamenu.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Max Mega Menu
5
  * Plugin URI: https://www.megamenu.com
6
  * Description: An easy to use mega menu plugin. Written the WordPress way.
7
- * Version: 2.7.1.1
8
  * Author: megamenu.com
9
  * Author URI: https://www.megamenu.com
10
  * License: GPL-2.0+
@@ -36,7 +36,7 @@ final class Mega_Menu {
36
  /**
37
  * @var string
38
  */
39
- public $version = '2.7.1.1';
40
 
41
 
42
  /**
4
  * Plugin Name: Max Mega Menu
5
  * Plugin URI: https://www.megamenu.com
6
  * Description: An easy to use mega menu plugin. Written the WordPress way.
7
+ * Version: 2.7.1.2
8
  * Author: megamenu.com
9
  * Author URI: https://www.megamenu.com
10
  * License: GPL-2.0+
36
  /**
37
  * @var string
38
  */
39
+ public $version = '2.7.1.2';
40
 
41
 
42
  /**
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: megamenu
3
  Tags: menu, megamenu, mega menu, navigation, widget, dropdown menu, drag and drop, mobile, responsive, retina, theme editor, widget, shortcode, sidebar, icons, dashicons
4
  Requires at least: 4.9
5
- Tested up to: 5.1
6
- Stable tag: 2.7.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -39,7 +39,7 @@ Max Mega Menu is developed with a focus on code quality, performance and usabili
39
  * Menus are styled using a single, static CSS file
40
  * Less than 2kb JavaScript (when gzipped)
41
  * Responsive, Touch & Retina Ready
42
- * Built with accessibity in mind - keyboard navigation supported
43
  * Extensively tested in all modern desktop and mobile browsers
44
  * Clean code with a low memory footprint
45
  * Filters and actions where you need them
@@ -110,9 +110,13 @@ See https://www.megamenu.com for more screenshots
110
 
111
  == Changelog ==
112
 
 
 
 
 
113
  = 2.7.1.1 =
114
 
115
- * Fix: Mega Menu Sub Menu - Box Shadow
116
 
117
  = 2.7.1 =
118
 
@@ -120,7 +124,7 @@ See https://www.megamenu.com for more screenshots
120
 
121
  = 2.7 =
122
 
123
- * Change: No longer use ":after" pseudo element to display arrows. Use 'span.mega-indicator' instead. This allows the arrows to control the sub menu independantly of the menu text. Custom CSS targeting `a.mega-menu-link:after` should be updated to target `a.mega-menu-link > span.mega-indicator:after`.
124
 
125
  * New: Off canvas mobile options under Appearance > Menus > Max Mega Menu Settings > Effect (Mobile). Remember to clear any CSS caching or minification plugins if you have problems activating this functionality.
126
  * New: "Collapse sub menu" option to hide third/fourth level items within mega menus
@@ -147,12 +151,12 @@ We hope you enjoy Max Mega Menu and the new updates. If you have a spare moment
147
  * Improvement: Allow a container_id to be specified as an Active Menu Instance
148
  * Improvement: Swap out admin menu icon from font icon to SVG
149
  * Fix: JS Lint JavaScript
150
- * Fix: Compatiblity with ACF Pro Select2 fields
151
  * Fix: WPML Language selector. Language selector position now respects the position set in the WPML options
152
  * Fix: Apply 'no-headers' styling to grid layout sub menus
153
  * Fix: 'Hide Sub Menu on mobile' option doesn't apply to mega menus
154
  * Fix: Prevent CSS from being auto loaded
155
- * Fix: Grid Layout: Title and descriprion are pushed below the icon when the description wraps onto two lines
156
  * Change: Always show mega-indicator arrow on mobile (allows for unbinding events from the link itself)
157
 
158
  = 2.5.3.2 =
@@ -189,7 +193,7 @@ We hope you enjoy Max Mega Menu and the new updates. If you have a spare moment
189
 
190
  * Improvement: Redirect to theme editor page after importing a menu theme
191
  * Improvement: Show a warning if attempting to edit a menu theme that is not actually applied to a menu
192
- * Improvement: Add warning to the auto generated style.css file not to manually edit auto generated CSS
193
  * Improvement: Add clearfix to mobile menu
194
  * Improvement: Add notice to Navigation Menu widget to let users know that the Max Mega Menu widget should be used, if the intention is to display a mega menu
195
  * Improvement: Rename admin JS and CSS handles to "maxmegamenu" (from "mega-menu") to avoid conflicts
@@ -222,7 +226,7 @@ We hope you enjoy Max Mega Menu and the new updates. If you have a spare moment
222
  * Improvement: Add Mobile Font (Hover) and Mobile Menu Item Background (Hover) options to theme editor
223
  * Fix: Add vendor prefixes to toggle block CSS to improve compatibility for old iPhones
224
  * Fix: Desktop menu visibility when Mobile Effect is set to slide and the browser is resized between desktop - mobile - desktop
225
- * Fix: Indent forth and fifth level menu items in grid layout sub menus
226
  * Fix: Remove webkit tap highlight color on mobile toggle bar
227
  * Improvement: Enable dynamic_sidebar_params filter when MEGAMENU_DYNAMIC_SIDEBAR_PARAMS constant is true
228
  * Improvement: CSS overrides/resets - word-wrap on menu item titles, transitions on anchors, visibility on h4 elements
@@ -307,7 +311,7 @@ We hope you enjoy Max Mega Menu and the new updates. If you have a spare moment
307
  = 2.3.7 [06/07/17] =
308
 
309
  * Compatibility with WordPress 4.8 Text and Media Widgets
310
- * Fix: Compatiblity with SiteOrigin Page Builder Layout builder
311
  * Improvement: Add support for MEGAMENU_SHARE_THEMES_MULTISITE constant
312
  * Improvement: Process shortcodes in mobile toggle block open and closed text
313
 
@@ -377,7 +381,7 @@ We hope you enjoy Max Mega Menu and the new updates. If you have a spare moment
377
  * New Feature: Menu Item Description support added
378
  * New Feature: Add "Active Menu Instance" setting to allow mega menu to only be applied to an individual instance of a wp_nav_menu call (rather than all of them)
379
  * Fix: Hover not working on some devices with touch screens. This has been tested for Hover, Hover Intent and Click on:
380
- Mac FireFox/Safari/Chrome, Windows Edge/IE9/IE10/IE11/FireFox/Chrome, iPhone, iPad Chrome/Safari, Andoid Default/Chrome. If you have problems with touch or hover, please post in the support forums detailing exactly which Operating System, Browser and Event you are using so that I can reproduce the issue here.
381
  * Fix: Mobile menu now always switches to click, even on desktops
382
  * Fix: Responsive Breakpoint validation
383
  * Fix: Swiping background on touch devices hides sub menus
@@ -402,7 +406,7 @@ Mac FireFox/Safari/Chrome, Windows Edge/IE9/IE10/IE11/FireFox/Chrome, iPhone, iP
402
  * Fix: Apply animation to closing sub menus
403
  * Fix: Bring megamenu button forward on nav-menus page
404
  * Fix: Replace deprecated jQuery 'addSelf' with 'andBack'
405
- * Improvement: Theme Editor usability. Add color pallete to color picker. Add Copy Color option
406
  * Improvement: Only prompt for SCSS compilation when current CSS is outdated
407
  * Change: Indicate whether style.css file was generated from core or custom version of megamenu.scss
408
 
@@ -498,14 +502,14 @@ Mac FireFox/Safari/Chrome, Windows Edge/IE9/IE10/IE11/FireFox/Chrome, iPhone, iP
498
  * New feature: Mobile Styling options added to theme editor
499
  * Improvement: Styling updated throughout
500
  * Improvement: Theme Editor accordionised
501
- * Improvement: Move JS to footer, unbind previously binded events from menu (for improved theme compatibility)
502
  * Improvement: Basic validation added to Theme Editor
503
  * New feature: Hide on mobile, Hide on desktop and Hide submenu on mobile options added
504
  * Improvement: Display column count on widgets within the mega menu builder
505
  * Fix: Getting started message displayed every time plugin is deactivated/activated
506
  * Improvement: Clear cache nag now clears the cache instead of taking user to the Tools page
507
  * Fix: Polylang fixes
508
- * Improvement: Getting started link takes user to menus page and highlights mega menu options
509
  * Improvement: Dropdown theme selector now displays which menu locations the theme is applied to
510
 
511
  = 1.9.1 [20/10/2015] =
@@ -548,7 +552,7 @@ Mac FireFox/Safari/Chrome, Windows Edge/IE9/IE10/IE11/FireFox/Chrome, iPhone, iP
548
  * New feature: French Language pack added (thanks to Pierre_02!)
549
  * Change: Check MMM is enabled for the menu before enabling the Mega Menu button on each menu item
550
  * Change: Add '300' and 'inherit' options to font weight, add 'megamenu_font_weights' filter
551
- * Change: Move mega menu settings page from under Appearance to it's own Top Level menu item (since the plugin options are no longer purely appearance related)
552
  * Fix: Second row menu items not correctly being forced onto a new line
553
  * Fix: PHP warning when widget cannot be found (due to being uninstalled)
554
  * Fix: Remove borders and excess padding from mobile menu (regardless of theme settings)
@@ -567,7 +571,7 @@ Mac FireFox/Safari/Chrome, Windows Edge/IE9/IE10/IE11/FireFox/Chrome, iPhone, iP
567
 
568
  * Change: Add filters for before_title, after_title, before_widget, after_widget
569
  * Change: Add widget classes to menu list items
570
- * Fix: Detect protocol when enqueueing CSS file from FS
571
  * Fix: Compatibility with WP Widget Cache
572
  * Change: Convert 'enable mega menu' checkbox into a select for clarity
573
 
@@ -579,7 +583,7 @@ Mac FireFox/Safari/Chrome, Windows Edge/IE9/IE10/IE11/FireFox/Chrome, iPhone, iP
579
  * Fix: Save spinners not appearing in WordPress 4.2
580
  * Fix: Empty mega menu settings lightbox (caused by conflicting plugins outputting PHP warnings)
581
  * Fix: Incompatibility with Ultimate Member
582
- * Fix: Icon colours in Advada Theme
583
  * Change: Default CSS Output set to Filesystem
584
  * Add max_mega_menu_is_enabled function for easier theme integration
585
 
@@ -626,7 +630,7 @@ Mac FireFox/Safari/Chrome, Windows Edge/IE9/IE10/IE11/FireFox/Chrome, iPhone, iP
626
  * New feature: Add text decoration option to fonts in theme editor
627
  * New feature: Allow jQuery selector to be used as the basis of the mega menu width
628
  * New feature: Add menu items align option to theme editor
629
- * New feature: Add hightlight selected menu item option to theme editor
630
  * New feature: Add flyout border radius option to theme editor
631
  * New feature: Add menu item divider option to theme editor
632
  * New feature: Add second click behaviour option to general settings
@@ -688,7 +692,7 @@ Mac FireFox/Safari/Chrome, Windows Edge/IE9/IE10/IE11/FireFox/Chrome, iPhone, iP
688
  = 1.3.3 =
689
 
690
  * Fix: theme warnings (thanks to armandsdz!)
691
- * Update: compatibile version number updated to 4.1
692
 
693
  = 1.3.2 =
694
 
@@ -759,4 +763,4 @@ Mac FireFox/Safari/Chrome, Windows Edge/IE9/IE10/IE11/FireFox/Chrome, iPhone, iP
759
 
760
  * Initial version
761
 
762
- == Upgrade Notice ==
2
  Contributors: megamenu
3
  Tags: menu, megamenu, mega menu, navigation, widget, dropdown menu, drag and drop, mobile, responsive, retina, theme editor, widget, shortcode, sidebar, icons, dashicons
4
  Requires at least: 4.9
5
+ Tested up to: 5.2
6
+ Stable tag: 2.7.1.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
39
  * Menus are styled using a single, static CSS file
40
  * Less than 2kb JavaScript (when gzipped)
41
  * Responsive, Touch & Retina Ready
42
+ * Built with accessibility in mind - keyboard navigation supported
43
  * Extensively tested in all modern desktop and mobile browsers
44
  * Clean code with a low memory footprint
45
  * Filters and actions where you need them
110
 
111
  == Changelog ==
112
 
113
+ = 2.7.1.2 =
114
+
115
+ * Fix: Menu item alignment when top padding has been applied to top level menu items
116
+
117
  = 2.7.1.1 =
118
 
119
+ * Fix: Sub Menu Box Shadow
120
 
121
  = 2.7.1 =
122
 
124
 
125
  = 2.7 =
126
 
127
+ * Change: No longer use ":after" pseudo element to display arrows. Use 'span.mega-indicator' instead. This allows the arrows to control the sub menu independently of the menu text. Custom CSS targeting `a.mega-menu-link:after` should be updated to target `a.mega-menu-link > span.mega-indicator:after`.
128
 
129
  * New: Off canvas mobile options under Appearance > Menus > Max Mega Menu Settings > Effect (Mobile). Remember to clear any CSS caching or minification plugins if you have problems activating this functionality.
130
  * New: "Collapse sub menu" option to hide third/fourth level items within mega menus
151
  * Improvement: Allow a container_id to be specified as an Active Menu Instance
152
  * Improvement: Swap out admin menu icon from font icon to SVG
153
  * Fix: JS Lint JavaScript
154
+ * Fix: Compatibility with ACF Pro Select2 fields
155
  * Fix: WPML Language selector. Language selector position now respects the position set in the WPML options
156
  * Fix: Apply 'no-headers' styling to grid layout sub menus
157
  * Fix: 'Hide Sub Menu on mobile' option doesn't apply to mega menus
158
  * Fix: Prevent CSS from being auto loaded
159
+ * Fix: Grid Layout: Title and description are pushed below the icon when the description wraps onto two lines
160
  * Change: Always show mega-indicator arrow on mobile (allows for unbinding events from the link itself)
161
 
162
  = 2.5.3.2 =
193
 
194
  * Improvement: Redirect to theme editor page after importing a menu theme
195
  * Improvement: Show a warning if attempting to edit a menu theme that is not actually applied to a menu
196
+ * Improvement: Add warning to the auto generated style.css file not to manually edit auto-generated CSS
197
  * Improvement: Add clearfix to mobile menu
198
  * Improvement: Add notice to Navigation Menu widget to let users know that the Max Mega Menu widget should be used, if the intention is to display a mega menu
199
  * Improvement: Rename admin JS and CSS handles to "maxmegamenu" (from "mega-menu") to avoid conflicts
226
  * Improvement: Add Mobile Font (Hover) and Mobile Menu Item Background (Hover) options to theme editor
227
  * Fix: Add vendor prefixes to toggle block CSS to improve compatibility for old iPhones
228
  * Fix: Desktop menu visibility when Mobile Effect is set to slide and the browser is resized between desktop - mobile - desktop
229
+ * Fix: Indent fourth and fifth level menu items in grid layout sub menus
230
  * Fix: Remove webkit tap highlight color on mobile toggle bar
231
  * Improvement: Enable dynamic_sidebar_params filter when MEGAMENU_DYNAMIC_SIDEBAR_PARAMS constant is true
232
  * Improvement: CSS overrides/resets - word-wrap on menu item titles, transitions on anchors, visibility on h4 elements
311
  = 2.3.7 [06/07/17] =
312
 
313
  * Compatibility with WordPress 4.8 Text and Media Widgets
314
+ * Fix: Compatibility with SiteOrigin Page Builder Layout builder
315
  * Improvement: Add support for MEGAMENU_SHARE_THEMES_MULTISITE constant
316
  * Improvement: Process shortcodes in mobile toggle block open and closed text
317
 
381
  * New Feature: Menu Item Description support added
382
  * New Feature: Add "Active Menu Instance" setting to allow mega menu to only be applied to an individual instance of a wp_nav_menu call (rather than all of them)
383
  * Fix: Hover not working on some devices with touch screens. This has been tested for Hover, Hover Intent and Click on:
384
+ Mac FireFox/Safari/Chrome, Windows Edge/IE9/IE10/IE11/FireFox/Chrome, iPhone, iPad Chrome/Safari, Android Default/Chrome. If you have problems with touch or hover, please post in the support forums detailing exactly which Operating System, Browser and Event you are using so that I can reproduce the issue here.
385
  * Fix: Mobile menu now always switches to click, even on desktops
386
  * Fix: Responsive Breakpoint validation
387
  * Fix: Swiping background on touch devices hides sub menus
406
  * Fix: Apply animation to closing sub menus
407
  * Fix: Bring megamenu button forward on nav-menus page
408
  * Fix: Replace deprecated jQuery 'addSelf' with 'andBack'
409
+ * Improvement: Theme Editor usability. Add color palette to color picker. Add Copy Color option
410
  * Improvement: Only prompt for SCSS compilation when current CSS is outdated
411
  * Change: Indicate whether style.css file was generated from core or custom version of megamenu.scss
412
 
502
  * New feature: Mobile Styling options added to theme editor
503
  * Improvement: Styling updated throughout
504
  * Improvement: Theme Editor accordionised
505
+ * Improvement: Move JS to footer, unbind previously bound events from menu (for improved theme compatibility)
506
  * Improvement: Basic validation added to Theme Editor
507
  * New feature: Hide on mobile, Hide on desktop and Hide submenu on mobile options added
508
  * Improvement: Display column count on widgets within the mega menu builder
509
  * Fix: Getting started message displayed every time plugin is deactivated/activated
510
  * Improvement: Clear cache nag now clears the cache instead of taking user to the Tools page
511
  * Fix: Polylang fixes
512
+ * Improvement: Getting started link takes the user to menus page and highlights mega menu options
513
  * Improvement: Dropdown theme selector now displays which menu locations the theme is applied to
514
 
515
  = 1.9.1 [20/10/2015] =
552
  * New feature: French Language pack added (thanks to Pierre_02!)
553
  * Change: Check MMM is enabled for the menu before enabling the Mega Menu button on each menu item
554
  * Change: Add '300' and 'inherit' options to font weight, add 'megamenu_font_weights' filter
555
+ * Change: Move mega menu settings page from under Appearance to its own Top Level menu item (since the plugin options are no longer purely appearance related)
556
  * Fix: Second row menu items not correctly being forced onto a new line
557
  * Fix: PHP warning when widget cannot be found (due to being uninstalled)
558
  * Fix: Remove borders and excess padding from mobile menu (regardless of theme settings)
571
 
572
  * Change: Add filters for before_title, after_title, before_widget, after_widget
573
  * Change: Add widget classes to menu list items
574
+ * Fix: Detect protocol when enqueuing CSS file from FS
575
  * Fix: Compatibility with WP Widget Cache
576
  * Change: Convert 'enable mega menu' checkbox into a select for clarity
577
 
583
  * Fix: Save spinners not appearing in WordPress 4.2
584
  * Fix: Empty mega menu settings lightbox (caused by conflicting plugins outputting PHP warnings)
585
  * Fix: Incompatibility with Ultimate Member
586
+ * Fix: Icon colours in Avada Theme
587
  * Change: Default CSS Output set to Filesystem
588
  * Add max_mega_menu_is_enabled function for easier theme integration
589
 
630
  * New feature: Add text decoration option to fonts in theme editor
631
  * New feature: Allow jQuery selector to be used as the basis of the mega menu width
632
  * New feature: Add menu items align option to theme editor
633
+ * New feature: Add highlight selected menu item option to theme editor
634
  * New feature: Add flyout border radius option to theme editor
635
  * New feature: Add menu item divider option to theme editor
636
  * New feature: Add second click behaviour option to general settings
692
  = 1.3.3 =
693
 
694
  * Fix: theme warnings (thanks to armandsdz!)
695
+ * Update: compatible version number updated to 4.1
696
 
697
  = 1.3.2 =
698
 
763
 
764
  * Initial version
765
 
766
+ == Upgrade Notice ==