Magee Shortcodes - Version 1.4.2

Version Description

  • 13/03/2016 =
  • Fix - Fixed empty menu issues
Download this release

Release Info

Developer magictheme
Plugin Icon 128x128 Magee Shortcodes
Version 1.4.2
Comparing to
See all releases

Code changes from version 1.4.1 to 1.4.2

Files changed (3) hide show
  1. Magee.php +2 -2
  2. inc/options.php +6 -7
  3. readme.txt +5 -2
Magee.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Magee Shortcodes
4
  Plugin URI: http://www.mageewp.com/magee-shortcode.html
5
  Description: Magee Shortcodes is WordPress plugin that provides a pack of shortcodes. With Magee Shortcodes, you can easily create accordion, buttons, boxes, columns, social and much more. They allow you to create so many different page layouts. You could quickly and easily built your own custom pages using all the various shortcodes that Magee Shortcodes includes.
6
- Version: 1.4.1
7
  Author: MageeWP
8
  Author URI: http://www.mageewp.com
9
  Text Domain: magee-shortcodes
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) return;
14
  if(!class_exists('Magee_Core') && !defined( 'MAGEE_SHORTCODE_LIB_DIR') ):
15
  define( 'MAGEE_SHORTCODES_PATH', __FILE__ );
16
  define( 'MAGEE_SHORTCODES_DIR_PATH', plugin_dir_path( __FILE__ ));
17
- define( 'MAGEE_SHORTCODES_VER', '1.4.1' );
18
 
19
  require_once 'inc/core.php';
20
  require_once 'inc/options.php';
3
  Plugin Name: Magee Shortcodes
4
  Plugin URI: http://www.mageewp.com/magee-shortcode.html
5
  Description: Magee Shortcodes is WordPress plugin that provides a pack of shortcodes. With Magee Shortcodes, you can easily create accordion, buttons, boxes, columns, social and much more. They allow you to create so many different page layouts. You could quickly and easily built your own custom pages using all the various shortcodes that Magee Shortcodes includes.
6
+ Version: 1.4.2
7
  Author: MageeWP
8
  Author URI: http://www.mageewp.com
9
  Text Domain: magee-shortcodes
14
  if(!class_exists('Magee_Core') && !defined( 'MAGEE_SHORTCODE_LIB_DIR') ):
15
  define( 'MAGEE_SHORTCODES_PATH', __FILE__ );
16
  define( 'MAGEE_SHORTCODES_DIR_PATH', plugin_dir_path( __FILE__ ));
17
+ define( 'MAGEE_SHORTCODES_VER', '1.4.2' );
18
 
19
  require_once 'inc/core.php';
20
  require_once 'inc/options.php';
inc/options.php CHANGED
@@ -7,17 +7,16 @@
7
  function magee_shortcode_menus($name){
8
  $menus[''] = 'Default';
9
  if( $name !== ''){
10
-
11
- $menu = wp_get_nav_menus();
12
  foreach ( $menu as $val){
13
-
14
- $menus[$val->name] = $val->name;
 
15
  }
16
  if(isset( $menus)){
17
- return $menus;
18
  }
19
- }
20
-
21
  }
22
 
23
  global $magee_shortcodes,$magee_sliders;
7
  function magee_shortcode_menus($name){
8
  $menus[''] = 'Default';
9
  if( $name !== ''){
10
+ $menu = wp_get_nav_menus();
 
11
  foreach ( $menu as $val){
12
+ if (isset($val->name)) {
13
+ $menus[$val->name] = $val->name;
14
+ }
15
  }
16
  if(isset( $menus)){
17
+ return $menus;
18
  }
19
+ }
 
20
  }
21
 
22
  global $magee_shortcodes,$magee_sliders;
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: magictheme
3
  Donate link: http://www.mageewp.com/
4
  Tags: shortcodes, shortcode, accordion, alert, button, column, custom box, countdowns, counter, divider, dropcap, feature box, flip box, highlight, list, modal, popover, tooltip, person, promo box, scocial, tab, testimonial, progress, piechart, timeline, panel, section, slider
5
  Requires at least: 4.0
6
- Tested up to: 4.3
7
- Stable tag: 4.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -68,6 +68,9 @@ Activate plugin at "Plugins" administration page.
68
 
69
  == Changelog ==
70
 
 
 
 
71
  = 1.4.1 - 07/03/2016 =
72
  * Fix - Fixed CSS issues
73
 
3
  Donate link: http://www.mageewp.com/
4
  Tags: shortcodes, shortcode, accordion, alert, button, column, custom box, countdowns, counter, divider, dropcap, feature box, flip box, highlight, list, modal, popover, tooltip, person, promo box, scocial, tab, testimonial, progress, piechart, timeline, panel, section, slider
5
  Requires at least: 4.0
6
+ Tested up to: 4.4
7
+ Stable tag: 4.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
68
 
69
  == Changelog ==
70
 
71
+ = 1.4.2 - 13/03/2016 =
72
+ * Fix - Fixed empty menu issues
73
+
74
  = 1.4.1 - 07/03/2016 =
75
  * Fix - Fixed CSS issues
76