";
- }
- return $response;
- } // Function strava_request_handler
-
}
\ No newline at end of file
diff --git a/readme.txt b/readme.txt
index de84fa1..75afa85 100755
--- a/readme.txt
+++ b/readme.txt
@@ -1,18 +1,23 @@
=== Plugin Name ===
-Contributors: cmanon (@cmanon)
+Contributors: cmanon (@cmanon), jrfoell
Donate link: http://cmanon.com/
-Tags: bycicle, strava
+Tags: bicycle, cycling, strava
Requires at least: 2.0
-Tested up to: 3.3.2
+Tested up to: 3.5.1
Stable tag: 0.62
+License: GPLv2 or later
-This plugin is inteneded to show your strava.com information in your wordpress blog.
+This plugin is intended to show your strava.com information in your WordPress site.
== Description ==
-This plugin uses the REST strava.com API to pull the data out and show the information in your wordpress blog.
+This plugin uses the REST strava.com API to pull the data out and show the information in your WordPress site.
== Changelog ==
+
+= 0.70 =
+Use WordPress Settings API for settings page
+
= 0.62 =
Refactor some code.
Fixed several bugs.
diff --git a/wp-strava.php b/wp-strava.php
index 45ca155..a0bf823 100755
--- a/wp-strava.php
+++ b/wp-strava.php
@@ -34,9 +34,9 @@ if( file_exists( WPSTRAVA_PLUGIN_DIR . 'lang/' . get_locale() . '.mo' ) ) {
}
require_once WPSTRAVA_PLUGIN_DIR . 'lib/Strava.class.php';
-$wpstrava = WPStrava::getInstance();
+$wpstrava = WPStrava::get_instance();
-/*
+//@TODO only load these when needed
function load_styles() {
// Register a personalized stylesheet
wp_register_style('wp-strava-style', WPSTRAVA_PLUGIN_URL . 'css/wp-strava.css' );
@@ -50,5 +50,3 @@ function load_scripts() {
//wp_enqueue_script('google-maps', 'http://maps.google.com/maps/api/js?sensor=false');
}
add_action('wp-enqueue_script', 'load_scripts');
-
-*/
\ No newline at end of file