diff --git a/lib/LatestMapWidget.class.php b/lib/LatestMapWidget.class.php index 843bdcd..48d8e1e 100644 --- a/lib/LatestMapWidget.class.php +++ b/lib/LatestMapWidget.class.php @@ -120,15 +120,15 @@ class WPStrava_LatestMapWidget extends WP_Widget { } if ( $activity ) { - echo $args['$before_widget']; + echo $args['before_widget']; if ( $title ) { - echo $args['$before_title'] . $title . $args['$after_title']; + echo $args['before_title'] . $title . $args['after_title']; } echo ""; echo $this->get_static_image( $athlete_token, $activity, $build_new ); echo ''; - echo $args['$after_widget']; + echo $args['after_widget']; } }