INN / Google-Analytics-Popular-Posts

A WordPress plugin that uses Google Analytics data to determine the most popular posts on your site and display a list of popular posts via the included widget.
https://wordpress.org/plugins/ga-popular-posts/
23 stars 7 forks source link

Undefined variable in widget tripping notice #30

Closed 0aveRyan closed 8 years ago

0aveRyan commented 8 years ago
Notice: Undefined variable: preserve in /vagrant/wp-content/plugins/analytic-bridge/classes/AnalyticsPopularWidget.php on line 166

https://github.com/INN/analytic-bridge/blob/master/classes/AnalyticsPopularWidget.php#L166

There is a $preserveNulls value within the Google Analytics API, but $preserve isn't defined elsewhere in the plugin. Unclear if there's an effect on front-end display / queries.