Magee Shortcodes - Version 1.6.2

Version Description

  • 03/23/2018 =
  • Fix - Fixed menu shortcode issue
Download this release

Release Info

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

Code changes from version 1.6.0 to 1.6.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.6.0
7
  Author: MageeWP
8
  Author URI: http://www.mageewp.com
9
  Text Domain: magee-shortcodes
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.6.2
7
  Author: MageeWP
8
  Author URI: http://www.mageewp.com
9
  Text Domain: magee-shortcodes
assets/css/admin.css CHANGED
@@ -493,9 +493,7 @@ a#TB_closeWindowButton .tb-close-icon:before {
493
  width: 696px;
494
  display:block!important;
495
  }
496
- .magee_shortcodes_container .wp-color-result{
497
- display:none;
498
- }
499
  .wp-picker-holder {
500
  width: 260px;
501
  }
493
  width: 696px;
494
  display:block!important;
495
  }
496
+
 
 
497
  .wp-picker-holder {
498
  width: 260px;
499
  }
assets/js/admin.js CHANGED
@@ -44,7 +44,7 @@ $(document).on("click",'a.magee_shortcode_item',function(){
44
  $(".magee-shortcodes-settings-inner-clone").html(form.find(".column-shortcode-inner").html());
45
  var myOptions = {
46
  change: function(event, ui){
47
- $('.magee_shortcodes_container .wp-color-picker-field').each(function(){
48
  var color = $(this).parents('.wp-picker-container').find('.wp-color-result').css("background-color")
49
  $(this).css("background-color",color);
50
  var top = parseInt($(this).parents('.wp-picker-container').find('a.iris-square-value').css("top").replace('px',''));
@@ -58,7 +58,7 @@ $(document).on("click",'a.magee_shortcode_item',function(){
58
  },
59
  };
60
 
61
- $('.magee_shortcodes_container .wp-color-picker-field').wpColorPicker(myOptions);
62
  $.ajax({
63
  type: "POST",
64
  url: ajaxurl,
@@ -783,7 +783,7 @@ tb_remove();
783
  $(".shortcode-add").before(wraptext);
784
  var myclone_Options = {
785
  change: function(event, ui){
786
- $('.magee_shortcodes_container .column-shortcode-inner').eq(count).find('.wp-color-picker-field').each(function(){
787
  var color = $(this).parents('.wp-picker-container').eq(0).find('.wp-color-result').css("background-color");
788
  $(this).css("background-color",color);
789
  var top = parseInt($(this).parents('.wp-picker-container').find('a.iris-square-value').css("top").replace('px',''));
@@ -797,8 +797,8 @@ tb_remove();
797
  },
798
  defaultColor: true,
799
  };
800
- $('.magee_shortcodes_container .column-shortcode-inner').eq(count).find('.wp-color-picker-field').wpColorPicker(myclone_Options);
801
- $('.magee_shortcodes_container .column-shortcode-inner').eq(count).find('.wp-color-picker-field').each(function(){
802
  var color = $(this).attr('value');
803
  $(this).css("background-color",color);
804
  var since = 0 ;
44
  $(".magee-shortcodes-settings-inner-clone").html(form.find(".column-shortcode-inner").html());
45
  var myOptions = {
46
  change: function(event, ui){
47
+ $('#magee_shortcodes_container .wp-color-picker-field').each(function(){
48
  var color = $(this).parents('.wp-picker-container').find('.wp-color-result').css("background-color")
49
  $(this).css("background-color",color);
50
  var top = parseInt($(this).parents('.wp-picker-container').find('a.iris-square-value').css("top").replace('px',''));
58
  },
59
  };
60
 
61
+ $('#magee_shortcodes_container .wp-color-picker-field').wpColorPicker(myOptions);
62
  $.ajax({
63
  type: "POST",
64
  url: ajaxurl,
783
  $(".shortcode-add").before(wraptext);
784
  var myclone_Options = {
785
  change: function(event, ui){
786
+ $('#magee_shortcodes_container .column-shortcode-inner').eq(count).find('.wp-color-picker-field').each(function(){
787
  var color = $(this).parents('.wp-picker-container').eq(0).find('.wp-color-result').css("background-color");
788
  $(this).css("background-color",color);
789
  var top = parseInt($(this).parents('.wp-picker-container').find('a.iris-square-value').css("top").replace('px',''));
797
  },
798
  defaultColor: true,
799
  };
800
+ $('#magee_shortcodes_container .column-shortcode-inner').eq(count).find('.wp-color-picker-field').wpColorPicker(myclone_Options);
801
+ $('#magee_shortcodes_container .column-shortcode-inner').eq(count).find('.wp-color-picker-field').each(function(){
802
  var color = $(this).attr('value');
803
  $(this).css("background-color",color);
804
  var since = 0 ;
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.6
7
- Stable tag: 4.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -68,6 +68,12 @@ Activate plugin at "Plugins" administration page.
68
 
69
  == Changelog ==
70
 
 
 
 
 
 
 
71
  = 1.6.0 - 07/11/2016 =
72
  * Improve - Improved modal shortcode
73
  * Added : new option for countdowns( type -> circle, day/hours/minutes/seconds field text, google fonts, circle type day/hours/minutes/seconds color )
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.9
7
+ Stable tag: 4.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
68
 
69
  == Changelog ==
70
 
71
+ = 1.6.2 - 03/23/2018 =
72
+ * Fix - Fixed menu shortcode issue
73
+
74
+ = 1.6.1 - 02/28/2018 =
75
+ * Fix - Fixed colorpicker issue
76
+
77
  = 1.6.0 - 07/11/2016 =
78
  * Improve - Improved modal shortcode
79
  * Added : new option for countdowns( type -> circle, day/hours/minutes/seconds field text, google fonts, circle type day/hours/minutes/seconds color )
shortcodes/class-menu.php CHANGED
@@ -33,6 +33,7 @@ class Magee_Menu {
33
  if(isset($menu)):
34
  $menus = array(
35
  'menu' => esc_attr($menu),
 
36
  'items_wrap' => '<ul id="%1$s '.esc_attr($id).'" class="%2$s ' . esc_attr($class) . '">%3$s</ul>'
37
  );
38
  $html = wp_nav_menu($menus);
33
  if(isset($menu)):
34
  $menus = array(
35
  'menu' => esc_attr($menu),
36
+ 'echo' => false,
37
  'items_wrap' => '<ul id="%1$s '.esc_attr($id).'" class="%2$s ' . esc_attr($class) . '">%3$s</ul>'
38
  );
39
  $html = wp_nav_menu($menus);