Shortcodes Ultimate - Version 4.1.5

Version Description

  • Fixed [lightbox]
  • Disabled wp_footer check
Download this release

Release Info

Developer gn_themes
Plugin Icon 128x128 Shortcodes Ultimate
Version 4.1.5
Comparing to
See all releases

Code changes from version 4.1.4 to 4.1.5

inc/core/class.requirements.php CHANGED
@@ -17,7 +17,7 @@ class Shortcodes_Ultimate_Requirements {
17
  }
18
 
19
  public static function wp_footer_notice() {
20
- if ( get_option( 'su_no_wp_footer' ) ) echo '<div class="error"><p>' . __( '<b>Shortcodes Ultimate:</b> Your current theme does not use wp_footer tag. Shortcodes will not work properly. Please add the wp_footer in the footer of your theme.', 'su' ) . ' <a href="http://codex.wordpress.org/Function_Reference/wp_footer" target="_blank">' . __( 'Learn more', 'su' ) . '</a>.' . '</p></div>';
21
  }
22
 
23
  /**
17
  }
18
 
19
  public static function wp_footer_notice() {
20
+ //if ( get_option( 'su_no_wp_footer' ) ) echo '<div class="error"><p>' . __( '<b>Shortcodes Ultimate:</b> Your current theme does not use wp_footer tag. Shortcodes will not work properly. Please add the wp_footer in the footer of your theme.', 'su' ) . ' <a href="http://codex.wordpress.org/Function_Reference/wp_footer" target="_blank">' . __( 'Learn more', 'su' ) . '</a>.' . '</p></div>';
21
  }
22
 
23
  /**
inc/core/shortcodes.php CHANGED
@@ -550,6 +550,7 @@ function su_lightbox_shortcode( $atts, $content = null ) {
550
  su_query_asset( 'css', 'magnific-popup' );
551
  su_query_asset( 'js', 'jquery' );
552
  su_query_asset( 'js', 'magnific-popup' );
 
553
  return '<span class="su-lightbox' . su_ecssc( $atts ) . '" data-mfp-src="' . $atts['src'] . '" data-mfp-type="' . $atts['type'] . '">' . do_shortcode( $content ) . '</span>';
554
  }
555
 
550
  su_query_asset( 'css', 'magnific-popup' );
551
  su_query_asset( 'js', 'jquery' );
552
  su_query_asset( 'js', 'magnific-popup' );
553
+ su_query_asset( 'js', 'su-other-shortcodes' );
554
  return '<span class="su-lightbox' . su_ecssc( $atts ) . '" data-mfp-src="' . $atts['src'] . '" data-mfp-type="' . $atts['type'] . '">' . do_shortcode( $content ) . '</span>';
555
  }
556
 
readme.txt CHANGED
@@ -94,6 +94,10 @@ Upgrade normally via your Wordpress admin -> Plugins panel.
94
 
95
  == Changelog ==
96
 
 
 
 
 
97
  = 4.1.4 =
98
  * Fixed wp_footer notice, again
99
 
94
 
95
  == Changelog ==
96
 
97
+ = 4.1.5 =
98
+ * Fixed [lightbox]
99
+ * Disabled wp_footer check
100
+
101
  = 4.1.4 =
102
  * Fixed wp_footer notice, again
103
 
shortcodes-ultimate.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Shortcodes Ultimate
4
  Plugin URI: http://gndev.info/shortcodes-ultimate/
5
- Version: 4.1.4
6
  Author: Vladimir Anokhin
7
  Author URI: http://gndev.info/
8
  Description: Supercharge your WordPress theme with mega pack of shortcodes
2
  /*
3
  Plugin Name: Shortcodes Ultimate
4
  Plugin URI: http://gndev.info/shortcodes-ultimate/
5
+ Version: 4.1.5
6
  Author: Vladimir Anokhin
7
  Author URI: http://gndev.info/
8
  Description: Supercharge your WordPress theme with mega pack of shortcodes