Changeset 2148703
- Timestamp:
- 08/30/2019 08:55:58 PM (7 years ago)
- Location:
- wp-meetup/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (1 diff)
-
includes/api.php (modified) (1 diff)
-
wp-meetup.php (modified) (1 diff)
-
wpm-options.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-meetup/trunk/README.txt
r2136702 r2148703 50 50 51 51 == Changelog == 52 = 2.3.1 = 53 * Very minor bug fixes 54 52 55 = 2.3.0 = 53 56 * Updated authentication method to OAuth2 to accommodate Meetup.com's API key deprecation -
wp-meetup/trunk/includes/api.php
r2136701 r2148703 210 210 $response_body = wp_remote_retrieve_body($response); 211 211 $response_body_decoded = (empty($response_body) ? '' : json_decode($response_body)); 212 213 if ($response_body === '[]') { 214 return array(); 215 } 212 216 213 217 // If there's trouble decoding the response, record that error (in addition to any other errors we encounter). -
wp-meetup/trunk/wp-meetup.php
r2136701 r2148703 5 5 * Plugin URI: https://nuancedmedia.com/wordpress-meetup-plugin/ 6 6 * Description: Pulls events from Meetup.com onto your blog to be displayed in a calendar, list, or widgets. 7 * Version: 2.3. 07 * Version: 2.3.1 8 8 * Author: Nuanced Media 9 9 * Author URI: http://nuancedmedia.com/ -
wp-meetup/trunk/wpm-options.php
r2136701 r2148703 346 346 * Check if the OAuth2 access token is stored. 347 347 * 348 * @since 2.3.1 348 349 * @since 2.3.0 349 350 * … … 351 352 */ 352 353 public function has_access_token() { 353 return (! empty($this->get_option('oauth2_access_token'))); 354 $access_token = $this->get_option('oauth2_access_token'); 355 return (! empty($access_token)); 354 356 } 355 357
Note: See TracChangeset
for help on using the changeset viewer.