Update to fix class not found error

This commit is contained in:
Justin Foell
2018-02-23 11:08:25 -06:00
parent 7619979072
commit 214e855687
3 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -2,6 +2,7 @@
require_once WPSTRAVA_PLUGIN_DIR . 'lib/Settings.class.php';
require_once WPSTRAVA_PLUGIN_DIR . 'lib/SOM.class.php';
require_once WPSTRAVA_PLUGIN_DIR . 'lib/Activity.class.php';
require_once WPSTRAVA_PLUGIN_DIR . 'lib/LatestActivitiesShortcode.class.php';
require_once WPSTRAVA_PLUGIN_DIR . 'lib/ActivityShortcode.class.php';
require_once WPSTRAVA_PLUGIN_DIR . 'lib/RouteShortcode.class.php';
@@ -68,7 +69,6 @@ class WPStrava {
public function get_activity() {
if ( ! $this->activity ) {
require_once WPSTRAVA_PLUGIN_DIR . 'lib/Activity.class.php';
$this->activity = new WPStrava_Activity();
}
+7 -3
View File
@@ -4,7 +4,7 @@ Contributors: cmanon, jrfoell, lancewillett, dlintott
Tags: strava, activity, bicycle, cycling, biking, running, run, swimming, swim, gps, shortcode, widget, plugin
Requires at least: 4.6
Tested up to: 4.9
Stable tag: 1.4.2
Stable tag: 1.4.3
Requires PHP: 5.2
License: GPLv2 or later
@@ -52,11 +52,11 @@ Strava Latest Map - shows map of latest activity with option to limit latest map
= Why am I getting "ERROR 401 Unauthorized"? =
When you have multiple athletes saved, the first is considered to be the default athlete. If you use a shortcode to display activity from anyone other than the default athlete, you must add the athlete token to the shortcode, such as
When you have multiple athletes saved, the first is considered to be the default athlete. If you use a shortcode to display activity from anyone other than the default athlete, you must add the athlete token (found on the wp-strava settings page) to the shortcode, such as athlete_token=c764a2b199cff281e39f24671760c1b9c9fe005e
= Why is my Google Map not showing up? =
If your key works with other Google Maps plugins but not WP Strava, you may need to enable the "Static Maps" functionality on your google account. This is especially true for people using G Suite accounts (not just a @gmail.com address). While logged into your G Suite email, visit https://console.developers.google.com/apis/library/static-maps-backend.googleapis.com/?q=static and make sure the "Static Maps API" is enabled. For more details see https://wordpress.org/support/topic/no-data-errors/
If your API key works with other Google Maps plugins but not WP Strava, you may need to enable the "Static Maps" functionality on your google account. This is especially true for people using G Suite accounts (not just a @gmail.com address). While logged into your G Suite email, visit https://console.developers.google.com/apis/library/static-maps-backend.googleapis.com/?q=static and make sure the "Static Maps API" is enabled. For more details see https://wordpress.org/support/topic/no-data-errors/
== Screenshots ==
@@ -74,6 +74,10 @@ If your key works with other Google Maps plugins but not WP Strava, you may need
== Changelog ==
= 1.4.3 =
Fix WPStrava_Activity class not found error.
= 1.4.2 =
Better Club ID support.
+1 -1
View File
@@ -3,7 +3,7 @@
* Plugin Name: WP Strava
* Plugin URI: https://wordpress.org/plugins/wp-strava/
* Description: Plugin to show your strava.com information in your WordPress blog. Some Icons are Copyright © Yusuke Kamiyamane. All rights reserved. Licensed under a Creative Commons Attribution 3.0 license.
* Version: 1.4.2
* Version: 1.4.3
* Author: Carlos Santa Cruz, Justin Foell, Lance Willet, Daniel Lintott
* License: GPL2
* Text Domain: wp-strava