Changeset 946538
- Timestamp:
- 07/10/2014 09:22:26 PM (12 years ago)
- Location:
- foursquare-venue
- Files:
-
- 2 deleted
- 2 edited
- 6 copied
-
tags/3.0.1 (copied) (copied from foursquare-venue/trunk)
-
tags/3.0.1/css (copied) (copied from foursquare-venue/trunk/css)
-
tags/3.0.1/foursquare-venue.php (copied) (copied from foursquare-venue/trunk/foursquare-venue.php) (3 diffs)
-
tags/3.0.1/js (copied) (copied from foursquare-venue/trunk/js)
-
tags/3.0.1/php (copied) (copied from foursquare-venue/trunk/php)
-
tags/3.0.1/readme.txt (copied) (copied from foursquare-venue/trunk/readme.txt) (2 diffs)
-
tags/3.0.1/screenshot-1.png (deleted)
-
tags/3.0.1/screenshot-2.png (deleted)
-
trunk/foursquare-venue.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
foursquare-venue/tags/3.0.1/foursquare-venue.php
r946349 r946538 6 6 Author: Sutherland Boswell 7 7 Author URI: http://sutherlandboswell.com 8 Version: 3.0 8 Version: 3.0.1 9 9 License: GPL2 10 10 */ … … 27 27 // Define 28 28 define( 'FOURSQUARE_VENUE_PATH', dirname(__FILE__) ); 29 define( 'FOURSQUARE_VENUE_VERSION', '3.0 ' );29 define( 'FOURSQUARE_VENUE_VERSION', '3.0.1' ); 30 30 31 31 // Includes … … 251 251 } else { 252 252 $data = json_decode( $response['body'] ); 253 $data = $data->response->venue; 254 set_transient( $transient_name, $data, 15 * 60 ); 253 if ( $data->meta->code != 200 ) { 254 $data = new WP_Error( 'foursquare_api_error', $data->meta->errorDetail ); 255 } else { 256 $data = $data->response->venue; 257 set_transient( $transient_name, $data, 15 * 60 ); 258 } 255 259 } 256 260 } -
foursquare-venue/tags/3.0.1/readme.txt
r946349 r946538 5 5 Requires at least: 3.5 6 6 Tested up to: 3.9.1 7 Stable tag: 3.0 7 Stable tag: 3.0.1 8 8 9 9 Foursquare Venue is a simple but powerful plugin for displaying any venue's Foursquare stats. … … 44 44 45 45 == Changelog == 46 47 = 3.0.1 = 48 * Fixed bug causing Foursquare errors to be cached 46 49 47 50 = 3.0 = -
foursquare-venue/trunk/foursquare-venue.php
r946349 r946538 6 6 Author: Sutherland Boswell 7 7 Author URI: http://sutherlandboswell.com 8 Version: 3.0 8 Version: 3.0.1 9 9 License: GPL2 10 10 */ … … 27 27 // Define 28 28 define( 'FOURSQUARE_VENUE_PATH', dirname(__FILE__) ); 29 define( 'FOURSQUARE_VENUE_VERSION', '3.0 ' );29 define( 'FOURSQUARE_VENUE_VERSION', '3.0.1' ); 30 30 31 31 // Includes … … 251 251 } else { 252 252 $data = json_decode( $response['body'] ); 253 $data = $data->response->venue; 254 set_transient( $transient_name, $data, 15 * 60 ); 253 if ( $data->meta->code != 200 ) { 254 $data = new WP_Error( 'foursquare_api_error', $data->meta->errorDetail ); 255 } else { 256 $data = $data->response->venue; 257 set_transient( $transient_name, $data, 15 * 60 ); 258 } 255 259 } 256 260 } -
foursquare-venue/trunk/readme.txt
r946349 r946538 5 5 Requires at least: 3.5 6 6 Tested up to: 3.9.1 7 Stable tag: 3.0 7 Stable tag: 3.0.1 8 8 9 9 Foursquare Venue is a simple but powerful plugin for displaying any venue's Foursquare stats. … … 44 44 45 45 == Changelog == 46 47 = 3.0.1 = 48 * Fixed bug causing Foursquare errors to be cached 46 49 47 50 = 3.0 =
Note: See TracChangeset
for help on using the changeset viewer.