mirror of
https://github.com/10h30/wp-strava.git
synced 2026-06-05 15:10:01 +09:00
Move shortcode adds to main class.
Fixed to avoid undefined index/property with abridged club activity data.
This commit is contained in:
@@ -10,7 +10,6 @@ class WPStrava_RouteShortcode {
|
||||
private static $add_script;
|
||||
|
||||
public static function init() {
|
||||
add_shortcode( 'route', array( __CLASS__, 'handler' ) );
|
||||
add_action( 'wp_footer', array( __CLASS__, 'print_scripts' ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user