Skip to content

Commit

Permalink
Removed links to app.strava.com
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfoell committed Jan 26, 2018
1 parent d37286f commit 6f41a05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/LatestMapWidget.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function widget( $args, $instance ) {
echo $args['before_title'] . $title . $args['after_title'];
}

echo "<a title='{$activity->name}' href='http://app.strava.com/activities/{$activity->id}'>";
echo "<a title='{$activity->name}' href='" . WPStrava_Activity::ACTIVITIES_URL . "{$activity->id}'>";
echo $this->get_static_image( $id, $activity, $build_new );
echo '</a>';
echo $args['after_widget'];
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ If your key works with other Google Maps plugins but not WP Strava, you may need

Better Club ID support.
Refined cache clearing to include club IDs.
Removed links to 'app.strava.com'

= 1.4.1 =
Fix array indices on map widget
Expand Down
2 changes: 1 addition & 1 deletion wp-strava.php
Original file line number Diff line number Diff line change
Expand Up @@ -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-rc1
* Version: 1.4.2-rc2
* Author: Carlos Santa Cruz, Justin Foell, Lance Willet, Daniel Lintott
* License: GPL2
* Text Domain: wp-strava
Expand Down

0 comments on commit 6f41a05

Please sign in to comment.