Changeset 729381
- Timestamp:
- 06/21/2013 12:58:48 PM (13 years ago)
- Location:
- soundcloud-sound-competition/trunk
- Files:
-
- 1 added
- 4 edited
-
API/CHANGELOG.txt (added)
-
API/Soundcloud.php (modified) (2 diffs)
-
API/Soundcloud/Version.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
soundcloud-sound-competition.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
soundcloud-sound-competition/trunk/API/Soundcloud.php
r616939 r729381 718 718 { 719 719 $url = $this->_buildUrl('playlists/' . $playlistId); 720 $postData = array_map(function ($track) { 721 return 'playlist[tracks][][id]=' . $track; 722 }, $trackIds); 720 $postData = array(); 721 722 foreach ($trackIds as $trackId) { 723 array_push($postData, 'playlist[tracks][][id]=' . $trackId); 724 } 723 725 724 726 if (is_array($optionalPostData)) { … … 922 924 curl_close($ch); 923 925 924 $this->_lastHttpResponseHeaders = $this->_parseHttpHeaders( 925 substr($data, 0, $info['header_size']) 926 ); 927 $this->_lastHttpResponseBody = substr($data, $info['header_size']); 926 if (array_key_exists(CURLOPT_HEADER, $options) && $options[CURLOPT_HEADER]) { 927 $this->_lastHttpResponseHeaders = $this->_parseHttpHeaders( 928 substr($data, 0, $info['header_size']) 929 ); 930 $this->_lastHttpResponseBody = substr($data, $info['header_size']); 931 } else { 932 $this->_lastHttpResponseHeaders = array(); 933 $this->_lastHttpResponseBody = $data; 934 } 935 928 936 $this->_lastHttpResponseCode = $info['http_code']; 929 937 -
soundcloud-sound-competition/trunk/API/Soundcloud/Version.php
r727715 r729381 14 14 15 15 const MAJOR = 2; 16 const MINOR = 2;17 const PATCH = 1;16 const MINOR = 3; 17 const PATCH = 2; 18 18 19 19 /** -
soundcloud-sound-competition/trunk/readme.txt
r728796 r729381 5 5 Requires at least: 3.0 6 6 Tested up to: 3.5 7 Stable tag: 0.9.2. 27 Stable tag: 0.9.2.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 44 44 = Minimum Requirements = 45 45 46 1. PHP 5.2 or higher 46 1. PHP 5.2 or higher (with [cURL](http://se2.php.net/curl) support) 47 47 2. [A Soundcloud account](https://www.soundcloud.com/) 48 48 … … 97 97 == Changelog == 98 98 99 = 0.9.2.3 = 100 * Updated to new Soundcloud API. 101 102 99 103 = 0.9.2.1 = 100 104 * Usabillity: Better shortcode copyer. -
soundcloud-sound-competition/trunk/soundcloud-sound-competition.php
r729367 r729381 4 4 Plugin URI: http://webhjelpen.no/wordpress-plugin/soundcloud-sound-competition/ 5 5 Description: Host your own Sound Contest integrated with SoundCloud, users connect easy with SoundCloud to choose track to add to your competition. Everything within your WordPress web site. 6 Version: 0.9.2. 26 Version: 0.9.2.3 7 7 Author: Kenneth Berentzen 8 8 Author URI: http://webhjelpen.no/wordpress-plugin
Note: See TracChangeset
for help on using the changeset viewer.