Shortcodes Ultimate - Version 4.9.6

Version Description

  • Fixed: Quick fix for disabled custom css since previous update, forum topic
Download this release

Release Info

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

Code changes from version 4.9.5 to 4.9.6

Files changed (3) hide show
  1. inc/core/assets.php +2 -2
  2. readme.txt +3 -0
  3. shortcodes-ultimate.php +2 -2
inc/core/assets.php CHANGED
@@ -32,7 +32,7 @@ class Su_Assets {
32
  add_action( 'su/generator/preview/after', array( __CLASS__, 'custom_css' ), 99 );
33
  add_action( 'su/examples/preview/after', array( __CLASS__, 'custom_css' ), 99 );
34
  // RTL support
35
- add_action( 'su/assets/custom_css', array( __CLASS__, 'rtl_shortcodes' ) );
36
  // Custom TinyMCE CSS and JS
37
  // add_filter( 'mce_css', array( __CLASS__, 'mce_css' ) );
38
  // add_filter( 'mce_external_plugins', array( __CLASS__, 'mce_js' ) );
@@ -158,7 +158,7 @@ class Su_Assets {
158
  // Print CSS if exists
159
  if ( $custom_css ) echo "\n\n<!-- Shortcodes Ultimate custom CSS - begin -->\n<style type='text/css'>\n" . stripslashes( str_replace( array( '%theme_url%', '%home_url%', '%plugin_url%' ), array( trailingslashit( get_stylesheet_directory_uri() ), trailingslashit( get_option( 'home' ) ), trailingslashit( plugins_url( '', SU_PLUGIN_FILE ) ) ), $custom_css ) ) . "\n</style>\n<!-- Shortcodes Ultimate custom CSS - end -->\n\n";
160
  // Hook
161
- do_action( 'su/assets/custom_css' );
162
  }
163
 
164
  /**
32
  add_action( 'su/generator/preview/after', array( __CLASS__, 'custom_css' ), 99 );
33
  add_action( 'su/examples/preview/after', array( __CLASS__, 'custom_css' ), 99 );
34
  // RTL support
35
+ add_action( 'su/assets/custom_css/after', array( __CLASS__, 'rtl_shortcodes' ) );
36
  // Custom TinyMCE CSS and JS
37
  // add_filter( 'mce_css', array( __CLASS__, 'mce_css' ) );
38
  // add_filter( 'mce_external_plugins', array( __CLASS__, 'mce_js' ) );
158
  // Print CSS if exists
159
  if ( $custom_css ) echo "\n\n<!-- Shortcodes Ultimate custom CSS - begin -->\n<style type='text/css'>\n" . stripslashes( str_replace( array( '%theme_url%', '%home_url%', '%plugin_url%' ), array( trailingslashit( get_stylesheet_directory_uri() ), trailingslashit( get_option( 'home' ) ), trailingslashit( plugins_url( '', SU_PLUGIN_FILE ) ) ), $custom_css ) ) . "\n</style>\n<!-- Shortcodes Ultimate custom CSS - end -->\n\n";
160
  // Hook
161
+ do_action( 'su/assets/custom_css/after' );
162
  }
163
 
164
  /**
readme.txt CHANGED
@@ -109,6 +109,9 @@ Upgrade normally
109
 
110
  == Changelog ==
111
 
 
 
 
112
  = 4.9.5 =
113
  * Added: basic RTL support
114
  * Fixed: JS error (blocking shortcodes settings) on WordPress 3.5
109
 
110
  == Changelog ==
111
 
112
+ = 4.9.6 =
113
+ * Fixed: Quick fix for disabled custom css since previous update, [forum topic](https://wordpress.org/support/topic/after-updating-the-plugin-does-not-work-arbitrary-css)
114
+
115
  = 4.9.5 =
116
  * Added: basic RTL support
117
  * Fixed: JS error (blocking shortcodes settings) on WordPress 3.5
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.9.5
6
  Author: Vladimir Anokhin
7
  Author URI: http://gndev.info/
8
  Description: Supercharge your WordPress theme with mega pack of shortcodes
@@ -13,7 +13,7 @@
13
 
14
  // Define plugin constants
15
  define( 'SU_PLUGIN_FILE', __FILE__ );
16
- define( 'SU_PLUGIN_VERSION', '4.9.5' );
17
  define( 'SU_ENABLE_CACHE', true );
18
 
19
  // Includes
2
  /*
3
  Plugin Name: Shortcodes Ultimate
4
  Plugin URI: http://gndev.info/shortcodes-ultimate/
5
+ Version: 4.9.6
6
  Author: Vladimir Anokhin
7
  Author URI: http://gndev.info/
8
  Description: Supercharge your WordPress theme with mega pack of shortcodes
13
 
14
  // Define plugin constants
15
  define( 'SU_PLUGIN_FILE', __FILE__ );
16
+ define( 'SU_PLUGIN_VERSION', '4.9.6' );
17
  define( 'SU_ENABLE_CACHE', true );
18
 
19
  // Includes