Fixed broken references after moving things around a bit

This commit is contained in:
Justin Foell
2013-02-17 21:19:08 -06:00
parent c8031dd678
commit cfa7b083f9
5 changed files with 92 additions and 86 deletions
+2 -4
View File
@@ -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');
*/