Closed wadehammes closed 7 years ago
seems odd that would have been in there all this time...do we know where that came from originally? @benlk?
Yeah, that 2x modifier is weird. My best guess is that maybe it was introduced with code borrowed from the Largo Related Posts Widget, where it would've been necessary because of how Largo_Related trimmed the number of posts down.
yeah, introduced in the second to last commit https://github.com/wadehammes/Google-Analytics-Popular-Posts/commit/26f718a69ff10c7393578e42c8e2e24ed669adf1#diff-b7ae0382593cd8bbd542e40639bf1182
I wonder what we have that's modifying that filter.
thanks for the patch, @wadehammes!
@rclations no problem guys!
As far as I can tell, we have used that filter for one thing: https://github.com/religionnews/theme-rns/blob/master/inc/widgets.php#L25-L46
Which does not require the * 2
.
Fixes #64