SoundCloud Is Gold - Version 2.3.1

Version Description

= 2.2.1 = * Security Update. Thanks to Samuel Wood for his help and time.

= 2.2 = Widget Update! Display latest and random track, favorites or sets for one user, multiple users or random users. Perfect for labels, collectives, festivals and schizophrenic artists.

= 2.1 = New widget to display a user's latest track. New "user" argument for the shortcode to display user's latest track.

= 2.0 = When updating to 2.0, if you're experiencing issues, deactivate and reactivate the plugin from the plugin page. This is due to switching to the Settings API. Sorry for the inconvenient.

Download this release

Release Info

Developer realTM
Plugin Icon wp plugin SoundCloud Is Gold
Version 2.3.1
Comparing to
See all releases

Code changes from version 2.3 to 2.3.1

readme.txt CHANGED
@@ -4,13 +4,13 @@ Donate link: http://www.mightymess.com/soundcloud-is-gold-wordpress-plugin
4
  Tags: soundcloud, integrated, media, shortcode, browse, design, easy, simple, music, sound, js, live preview, flash, html5
5
  Requires at least: 3.2
6
  Tested up to: 4.0.1
7
- Stable tag: 2.3
8
 
9
  Browse through your soundcloud tracks, sets and favourites. Select and add tracks, sets or favourites to your posts. Live preview, easy.
10
 
11
  == Description ==
12
 
13
- ** Compatible with new WP 4.0.1 **
14
 
15
  **Now with soundcloud's official html5 player!**
16
 
@@ -159,7 +159,6 @@ When updating to 2.0, if you're experiencing issues, deactivate and reactivate t
159
  = 2.3 =
160
  * Updated plugin to new Soundcloud API (Json only)
161
  * Small styling fix
162
- * Https support (thanks to hiddentao for the fix! https://wordpress.org/support/profile/randomaniac)
163
 
164
  = 2.2.2 =
165
  * Bug fix and improvements
4
  Tags: soundcloud, integrated, media, shortcode, browse, design, easy, simple, music, sound, js, live preview, flash, html5
5
  Requires at least: 3.2
6
  Tested up to: 4.0.1
7
+ Stable tag: 2.3.1
8
 
9
  Browse through your soundcloud tracks, sets and favourites. Select and add tracks, sets or favourites to your posts. Live preview, easy.
10
 
11
  == Description ==
12
 
13
+ **Compatible with new WP 4.0.1**
14
 
15
  **Now with soundcloud's official html5 player!**
16
 
159
  = 2.3 =
160
  * Updated plugin to new Soundcloud API (Json only)
161
  * Small styling fix
 
162
 
163
  = 2.2.2 =
164
  * Bug fix and improvements
soundcloud-is-gold-functions.php CHANGED
@@ -648,15 +648,15 @@ function soundcloud_is_gold_player($id, $user, $autoPlay, $comments, $width, $cl
648
  //Flash Player
649
  if(!$html5Player){
650
  $player .= '<object height="'.esc_attr($height).'" width="'.esc_attr($width).'">';
651
- $player .= '<param name="movie" value="'.$httpPrefix.'://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2F'.esc_attr($format).'%2F'.$id.'&amp;auto_play='.esc_attr($autoPlay).'&amp;player_type='.esc_attr($playerType).'&amp;show_comments='.esc_attr($comments).'&amp;color='.esc_attr($color).'"></param>';
652
  $player .= '<param name="allowscriptaccess" value="always"></param>';
653
  $player .= '<param name="wmode" value="transparent"></param>';
654
- $player .= '<embed wmode="transparent" allowscriptaccess="always" height="'.esc_attr($height).'" src="'.$httpPrefix.'://player.soundcloud.com/player.swf?url='.$httpPrefix.'%3A%2F%2Fapi.soundcloud.com%2F'.esc_attr($format).'%2F'.esc_attr($id).'&amp;auto_play='.esc_attr($autoPlay).'&amp;player_type='.esc_attr($playerType).'&amp;show_comments='.esc_attr($comments).'&amp;color='.esc_attr($color).'" type="application/x-shockwave-flash" width="'.esc_attr($width).'"></embed>';
655
  $player .= '</object>';
656
  }
657
  //Html5 Player
658
  else{
659
- $player .= '<iframe width="'.esc_attr($width).'" height="'.esc_attr($height).'" scrolling="no" frameborder="no" src="'.$httpPrefix.'://w.soundcloud.com/player/?url='.$httpPrefix.'%3A%2F%2Fapi.soundcloud.com%2F'.esc_attr($format).'%2F'.esc_attr($id).'&amp;auto_play='.esc_attr($autoPlay).'&amp;show_artwork='.esc_attr($artwork).'&amp;color='.esc_attr($color).'"></iframe>';
660
  }
661
  $player .= '</div>';
662
 
648
  //Flash Player
649
  if(!$html5Player){
650
  $player .= '<object height="'.esc_attr($height).'" width="'.esc_attr($width).'">';
651
+ $player .= '<param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2F'.esc_attr($format).'%2F'.$id.'&amp;auto_play='.esc_attr($autoPlay).'&amp;player_type='.esc_attr($playerType).'&amp;show_comments='.esc_attr($comments).'&amp;color='.esc_attr($color).'"></param>';
652
  $player .= '<param name="allowscriptaccess" value="always"></param>';
653
  $player .= '<param name="wmode" value="transparent"></param>';
654
+ $player .= '<embed wmode="transparent" allowscriptaccess="always" height="'.esc_attr($height).'" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2F'.esc_attr($format).'%2F'.esc_attr($id).'&amp;auto_play='.esc_attr($autoPlay).'&amp;player_type='.esc_attr($playerType).'&amp;show_comments='.esc_attr($comments).'&amp;color='.esc_attr($color).'" type="application/x-shockwave-flash" width="'.esc_attr($width).'"></embed>';
655
  $player .= '</object>';
656
  }
657
  //Html5 Player
658
  else{
659
+ $player .= '<iframe width="'.esc_attr($width).'" height="'.esc_attr($height).'" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2F'.esc_attr($format).'%2F'.esc_attr($id).'&amp;auto_play='.esc_attr($autoPlay).'&amp;show_artwork='.esc_attr($artwork).'&amp;color='.esc_attr($color).'"></iframe>';
660
  }
661
  $player .= '</div>';
662
 
soundcloud-is-gold.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Soundcloud is Gold
4
  Plugin URI: http://www.mightymess.com/soundcloud-is-gold-wordpress-plugin
5
  Description: <strong><a href="http://www.mightymess.com/soundcloud-is-gold-wordpress-plugin">Soundcloud is gold</a></strong> integrates perfectly into wordpress. Browse through your soundcloud tracks, sets and favorites from the 'soundcloud is gold' tab with the post's 'upload media' popup window. Select, set and add track, sets or favorites to your post using the soundcloud player. Live Preview, easy, smart and straightforward. You can set default settings in the option page, choose your defaut soundcloud player (Mini, Standard, Artwork, html5), its width, extra classes for you CSS lovers and your favorite colors. You'll still be able to set players to different settings before adding to your post if you fancy a one off change. Now with Html5 player and Widget!
6
- Version: 2.3
7
  Author: Thomas Michalak
8
  Author URI: http://www.mightymess.com/thomas-michalak
9
  License: GPL2 or Later
@@ -17,11 +17,11 @@ License: GPL2 or Later
17
  html5: h=166, w=100%
18
  */
19
 
20
- //define ('SIG_PLUGIN_DIR', WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)) );
21
- define( 'SIG_PLUGIN_DIR_HTTP', WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)) );
22
- define( 'SIG_PLUGIN_DIR', (is_ssl() ? str_replace('http:', 'https:', SIG_PLUGIN_DIR_HTTP) : SIG_PLUGIN_DIR_HTTP) );
23
 
24
- $httpPrefix = (is_ssl() ? 'https' : 'http');
25
 
26
  require_once('soundcloud-is-gold-functions.php');
27
 
3
  Plugin Name: Soundcloud is Gold
4
  Plugin URI: http://www.mightymess.com/soundcloud-is-gold-wordpress-plugin
5
  Description: <strong><a href="http://www.mightymess.com/soundcloud-is-gold-wordpress-plugin">Soundcloud is gold</a></strong> integrates perfectly into wordpress. Browse through your soundcloud tracks, sets and favorites from the 'soundcloud is gold' tab with the post's 'upload media' popup window. Select, set and add track, sets or favorites to your post using the soundcloud player. Live Preview, easy, smart and straightforward. You can set default settings in the option page, choose your defaut soundcloud player (Mini, Standard, Artwork, html5), its width, extra classes for you CSS lovers and your favorite colors. You'll still be able to set players to different settings before adding to your post if you fancy a one off change. Now with Html5 player and Widget!
6
+ Version: 2.3.1
7
  Author: Thomas Michalak
8
  Author URI: http://www.mightymess.com/thomas-michalak
9
  License: GPL2 or Later
17
  html5: h=166, w=100%
18
  */
19
 
20
+ define ('SIG_PLUGIN_DIR', WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)) );
21
+ //define( 'SIG_PLUGIN_DIR_HTTP', WP_PLUGIN_URL.'/'.str_replace(basename( __FILE__),"",plugin_basename(__FILE__)) );
22
+ //define( 'SIG_PLUGIN_DIR', (is_ssl() ? str_replace('http:', 'https:', SIG_PLUGIN_DIR_HTTP) : SIG_PLUGIN_DIR_HTTP) );
23
 
24
+ //$httpPrefix = (is_ssl() ? 'https' : 'http');
25
 
26
  require_once('soundcloud-is-gold-functions.php');
27