Skip to content

Commit

Permalink
more escaping and version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
padams committed Sep 17, 2021
1 parent ecb0317 commit acfbea4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
6 changes: 3 additions & 3 deletions owa-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

Expand Down Expand Up @@ -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 );
Expand Down

0 comments on commit acfbea4

Please sign in to comment.