diff --git a/README.txt b/README.txt index 41d9313..2b2a284 100644 --- a/README.txt +++ b/README.txt @@ -7,7 +7,7 @@ License: GPLv3 License URI: http://www.gnu.org/licenses/gpl.html Requires at least: 5.2.0 Tested up to: 5.8 -Stable tag: 2.0.2 +Stable tag: 2.0.3 The official plugin for integrating Open Web Analytics with WordPress based web sites and applications. diff --git a/owa-plugin.php b/owa-plugin.php index ca41073..662e5b1 100644 --- a/owa-plugin.php +++ b/owa-plugin.php @@ -5,7 +5,7 @@ Plugin URI: http://www.openwebanalytics.com Description: This plugin enables Wordpress blog owners to use the Open Web Analytics Framework. Author: Peter Adams -Version: 2.0.2 +Version: 2.0.3 Author URI: http://www.openwebanalytics.com */ @@ -839,8 +839,8 @@ function trackFeedRequest() { // set event type $event->setEventType( 'base.feed_request' ); // determine and set the type of feed - $event->set( 'feed_format', get_query_var( 'feed' ) ); - $event->set( 'feed_subscription_id', get_query_var( $this->getOption( 'feed_subscription_param' ) ) ); + $event->set( 'feed_format', esc_attr( get_query_var( 'feed' ) ) ); + $event->set( 'feed_subscription_id', esc_attr( get_query_var( $this->getOption( 'feed_subscription_param' ) ) ) ); //$event->set( 'feed_subscription_id', $_GET['owa_sid'] ); // track $owa->trackEvent( $event );