Shortcodes Ultimate - Version 1.8.1

Version Description

Upgrade normally via your Wordpress admin -> Plugins panel.

Download this release

Release Info

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

Code changes from version 1.8.0 to 1.8.1

Files changed (2) hide show
  1. readme.txt +1 -1
  2. shortcodes-ultimate.php +5 -5
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://ilovecode.ru/
4
  Tags: shortcode, shortcodes, short code, shortcodes, tab, tabs, button, buttons, jquery, box, boxes, toggle, spoiler, column, columns, services, service, pullquote, list, lists, frame, images, image, links, fancy, fancy link, fancy links, fancy buttons, jquery tabs, accordeon, slider, nivo, nivo slider, plugin, admin, photoshop, gallery
5
  Requires at least: 3.0
6
  Tested up to: 3.1
7
- Stable tag: 1.8.0
8
 
9
  Provides support for multiple useful shortcodes
10
 
4
  Tags: shortcode, shortcodes, short code, shortcodes, tab, tabs, button, buttons, jquery, box, boxes, toggle, spoiler, column, columns, services, service, pullquote, list, lists, frame, images, image, links, fancy, fancy link, fancy links, fancy buttons, jquery tabs, accordeon, slider, nivo, nivo slider, plugin, admin, photoshop, gallery
5
  Requires at least: 3.0
6
  Tested up to: 3.1
7
+ Stable tag: 1.8.1
8
 
9
  Provides support for multiple useful shortcodes
10
 
shortcodes-ultimate.php CHANGED
@@ -3,7 +3,7 @@
3
  /*
4
  Plugin Name: Shortcodes Ultimate
5
  Plugin URI: http://ilovecode.ru/?p=122
6
- Version: 1.8.0
7
  Author: Vladimir Anokhin
8
  Author URI: http://ilovecode.ru/
9
  Description: Provides support for many easy to use shortcodes
@@ -218,13 +218,13 @@
218
  }
219
 
220
  // Save main settings
221
- if ( $_POST['save'] && $_GET['page'] == 'shortcodes-ultimate' ) {
222
  update_option( 'su_disable_custom_formatting', $_POST['su_disable_custom_formatting'] );
223
  update_option( 'su_compatibility_mode', $_POST['su_compatibility_mode'] );
224
  }
225
 
226
  // Save custom css
227
- if ( $_POST['save-css'] && $_GET['page'] == 'shortcodes-ultimate' ) {
228
  update_option( 'su_custom_css', $_POST['su_custom_css'] );
229
  }
230
  }
@@ -250,12 +250,12 @@
250
  function su_save_notification() {
251
 
252
  // Save main settings
253
- if ( $_POST['save'] && $_GET['page'] == 'shortcodes-ultimate' ) {
254
  echo '<div class="updated"><p><strong>' . __( 'Settings saved', 'shortcodes-ultimate' ) . '</strong></p></div>';
255
  }
256
 
257
  // Save custom css
258
- if ( $_POST['save-css'] && $_GET['page'] == 'shortcodes-ultimate' ) {
259
  echo '<div class="updated"><p><strong>' . __( 'Custom CSS saved', 'shortcodes-ultimate' ) . '</strong></p></div>';
260
  }
261
  }
3
  /*
4
  Plugin Name: Shortcodes Ultimate
5
  Plugin URI: http://ilovecode.ru/?p=122
6
+ Version: 1.8.1
7
  Author: Vladimir Anokhin
8
  Author URI: http://ilovecode.ru/
9
  Description: Provides support for many easy to use shortcodes
218
  }
219
 
220
  // Save main settings
221
+ if ( isset( $_POST['save'] ) && $_GET['page'] == 'shortcodes-ultimate' ) {
222
  update_option( 'su_disable_custom_formatting', $_POST['su_disable_custom_formatting'] );
223
  update_option( 'su_compatibility_mode', $_POST['su_compatibility_mode'] );
224
  }
225
 
226
  // Save custom css
227
+ if ( isset( $_POST['save-css'] ) && $_GET['page'] == 'shortcodes-ultimate' ) {
228
  update_option( 'su_custom_css', $_POST['su_custom_css'] );
229
  }
230
  }
250
  function su_save_notification() {
251
 
252
  // Save main settings
253
+ if ( isset( $_POST['save'] ) && $_GET['page'] == 'shortcodes-ultimate' ) {
254
  echo '<div class="updated"><p><strong>' . __( 'Settings saved', 'shortcodes-ultimate' ) . '</strong></p></div>';
255
  }
256
 
257
  // Save custom css
258
+ if ( isset( $_POST['save-css'] ) && $_GET['page'] == 'shortcodes-ultimate' ) {
259
  echo '<div class="updated"><p><strong>' . __( 'Custom CSS saved', 'shortcodes-ultimate' ) . '</strong></p></div>';
260
  }
261
  }