diff --git a/readme.txt b/readme.txt index 16120b1..56cb1f1 100755 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Contributors: cmanon, jrfoell, lancewillett, dlintott, sebastianerb Tags: strava, activity, bicycle, cycling, biking, running, run, swimming, swim, paddle, kayak, gps, shortcode, widget, plugin, block, blocks Requires at least: 4.6 Tested up to: 5.8 -Stable tag: 2.9.2 +Stable tag: 2.10.0 Requires PHP: 5.3 License: GPLv2 or later @@ -134,7 +134,7 @@ On the WP-Strava settings page you cannot currently remove and add another athle == Changelog == -= 2.9.2 = += 2.10.0 = Add ability to paste Activity/Route/Segment URL into the block editor and have it insert the appropriate block https://wordpress.org/support/topic/sorry-this-content-could-not-be-embedded-5/ Add `reduce_polyline()` for maps with large polylines but no summary provided (prevents empty map) https://wordpress.org/support/topic/map-embed-from-segment-shows-default-map/ diff --git a/src/WPStrava/StaticMap.php b/src/WPStrava/StaticMap.php index 314c55c..1db9475 100644 --- a/src/WPStrava/StaticMap.php +++ b/src/WPStrava/StaticMap.php @@ -95,7 +95,7 @@ class WPStrava_StaticMap { * @param string $enc Encoded polyline. * @return string Smaller encoded polyline. * @author Justin Foell - * @since 2.9.2 + * @since 2.10.0 */ private static function reduce_polyline( $url_len, $enc ) { require_once WPSTRAVA_PLUGIN_DIR . 'src/Polyline.php'; diff --git a/wp-strava.php b/wp-strava.php index 2158f0d..0aaf314 100755 --- a/wp-strava.php +++ b/wp-strava.php @@ -3,7 +3,7 @@ * Plugin Name: WP Strava * Plugin URI: https://wordpress.org/plugins/wp-strava/ * Description: Show your strava.com activity on your WordPress site. Some Icons are Copyright © Yusuke Kamiyamane. All rights reserved. Licensed under a Creative Commons Attribution 3.0 license. - * Version: 2.9.1 + * Version: 2.10.0 * Author: Carlos Santa Cruz, Justin Foell, Lance Willett, Daniel Lintott, Sebastian Erb * License: GPL2 * Text Domain: wp-strava @@ -27,7 +27,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -define( 'WPSTRAVA_PLUGIN_VERSION', '2.9.1' ); +define( 'WPSTRAVA_PLUGIN_VERSION', '2.10.0' ); define( 'WPSTRAVA_PLUGIN_FILE', __FILE__ ); define( 'WPSTRAVA_PLUGIN_DIR', trailingslashit( dirname( __FILE__ ) ) ); define( 'WPSTRAVA_PLUGIN_URL', plugins_url( '/', __FILE__ ) );