Shortcodes Ultimate - Version 3.9.2

Version Description

Upgrade normally via your Wordpress admin -> Plugins panel.

Download this release

Release Info

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

Code changes from version 3.9.1 to 3.9.2

lib/twitter.php CHANGED
@@ -1,9 +1,14 @@
1
  <?php
2
 
 
 
 
 
 
3
  /**
4
  * Tweet relative time (like: 5 seconds ago)
5
  */
6
- function su_relative_time( $original, $do_more = 0 ) {
7
  // array of time period chunks
8
  $chunks = array(
9
  array( 60 * 60 * 24 * 365, __( 'year', 'shortcodes-ultimate' ) ),
@@ -38,11 +43,6 @@
38
  return $return;
39
  }
40
 
41
- // define( 'MAGPIE_CACHE_ON', 1 ); //2.7 Cache Bug
42
- // define( 'MAGPIE_CACHE_AGE', 900 );
43
- // define( 'MAGPIE_INPUT_ENCODING', 'UTF-8' );
44
- // define( 'MAGPIE_OUTPUT_ENCODING', 'UTF-8' );
45
-
46
  /**
47
  * Add hyperlinks to tweets
48
  */
@@ -84,7 +84,7 @@
84
  $link = $message['link'];
85
  $time = $message['pubdate'];
86
 
87
- $relative_time = ( $show_time ) ? '<span class="su-tweet-time">' . su_relative_time( strtotime( $time ) ) . '</span>' : '';
88
 
89
  $last_tweet_class = ( $i >= ( $limit - 1 ) ) ? ' su-tweet-last' : '';
90
 
1
  <?php
2
 
3
+ define( 'MAGPIE_CACHE_ON', 1 ); //2.7 Cache Bug
4
+ define( 'MAGPIE_CACHE_AGE', 900 );
5
+ define( 'MAGPIE_INPUT_ENCODING', 'UTF-8' );
6
+ define( 'MAGPIE_OUTPUT_ENCODING', 'UTF-8' );
7
+
8
  /**
9
  * Tweet relative time (like: 5 seconds ago)
10
  */
11
+ function shortcodes_ultimate_relative_time( $original, $do_more = 0 ) {
12
  // array of time period chunks
13
  $chunks = array(
14
  array( 60 * 60 * 24 * 365, __( 'year', 'shortcodes-ultimate' ) ),
43
  return $return;
44
  }
45
 
 
 
 
 
 
46
  /**
47
  * Add hyperlinks to tweets
48
  */
84
  $link = $message['link'];
85
  $time = $message['pubdate'];
86
 
87
+ $relative_time = ( $show_time ) ? '<span class="su-tweet-time">' . shortcodes_ultimate_relative_time( strtotime( $time ) ) . '</span>' : '';
88
 
89
  $last_tweet_class = ( $i >= ( $limit - 1 ) ) ? ' su-tweet-last' : '';
90
 
nbproject/private/private.properties ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ copy.src.files=false
2
+ copy.src.target=
3
+ index.file=index.php
4
+ remote.connection=___htmlgeek
5
+ remote.directory=/domains/wp.gndev.info/wp-content/plugins/shortcodes-ultimate
6
+ remote.upload=ON_SAVE
7
+ run.as=REMOTE
8
+ url=http://wp.gndev.info/
nbproject/private/private.xml ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project-private xmlns="http://www.netbeans.org/ns/project-private/1">
3
+ <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1">
4
+ <file>
5
+ <url>lib/available.php</url>
6
+ <line>115</line>
7
+ </file>
8
+ <file>
9
+ <url>css/style.css</url>
10
+ <line>0</line>
11
+ </file>
12
+ <file>
13
+ <url>shortcodes-ultimate.php</url>
14
+ <line>136</line>
15
+ </file>
16
+ </editor-bookmarks>
17
+ </project-private>
nbproject/project.properties ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ include.path=${php.global.include.path}
2
+ php.version=PHP_5
3
+ source.encoding=UTF-8
4
+ src.dir=.
5
+ tags.asp=false
6
+ tags.short=true
7
+ web.root=.
nbproject/project.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project xmlns="http://www.netbeans.org/ns/project/1">
3
+ <type>org.netbeans.modules.php.project</type>
4
+ <configuration>
5
+ <data xmlns="http://www.netbeans.org/ns/php-project/1">
6
+ <name>Shortcodes Ultimate</name>
7
+ </data>
8
+ </configuration>
9
+ </project>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://gndev.info/donate/
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, bloginfo, list pages, sub pages, navigation, siblings pages, children pages, permalink, permalinks, feed, document, member, members, documents, jcarousel, rss
5
  Requires at least: 3.0
6
  Tested up to: 4.0
7
- Stable tag: 3.9.1
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, bloginfo, list pages, sub pages, navigation, siblings pages, children pages, permalink, permalinks, feed, document, member, members, documents, jcarousel, rss
5
  Requires at least: 3.0
6
  Tested up to: 4.0
7
+ Stable tag: 3.9.2
8
 
9
  Provides support for multiple useful shortcodes
10
 
shortcodes-ultimate.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Shortcodes Ultimate
4
  Plugin URI: http://gndev.info/shortcodes-ultimate/
5
- Version: 3.9.1
6
  Author: Vladimir Anokhin
7
  Author URI: http://gndev.info/
8
  Description: Provides support for many easy to use shortcodes
2
  /*
3
  Plugin Name: Shortcodes Ultimate
4
  Plugin URI: http://gndev.info/shortcodes-ultimate/
5
+ Version: 3.9.2
6
  Author: Vladimir Anokhin
7
  Author URI: http://gndev.info/
8
  Description: Provides support for many easy to use shortcodes