Skip to content

Commit

Permalink
adding fix for #212
Browse files Browse the repository at this point in the history
properly setting medium when tracking feeds under wordpress.
  • Loading branch information
padams committed Nov 30, 2010
1 parent 8c9089a commit ae37e39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/base/classes/event.php
Expand Up @@ -155,7 +155,7 @@ function setProperties($properties = null) {
if (empty($this->properties)) {
$this->properties = $properties;
} else {
$this->properties = array_merge($properties, $this->properties);
$this->properties = array_merge($this->properties, $properties);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion owa_wp.php
Expand Up @@ -62,7 +62,7 @@ function add_link_tracking($link) {

return sprintf($link_template,
$link,
$this->config['ns'].$this->config['source_param'],
$this->config['ns'].'medium',
'feed',
$this->config['ns'].$this->config['feed_subscription_param'],
$_GET[$this->config['ns'].$this->config['feed_subscription_param']]);
Expand Down

0 comments on commit ae37e39

Please sign in to comment.