StatTraq permalink support fix

I installed the statTraq plugin on 23rd September but I found a small issue with permalink url…The post id was not saved because I am using nice url…

Insert the following code just after $browser = statTraqGetBrowser(); (around line 37) in “wp-content/plugins/stattraq.php”….



if ($article_id == 0) { $post_id = url_to_postid($urlRequested); $article_id = ($post_id > 0 ? $post_id : $article_id); }

2 Replies to “StatTraq permalink support fix”

  1. For the record it’s caled StatTraq… StatTrack is a baseball (and possibly other sports) statistics managemtn program. In other words, it was taken 🙂

Comments are closed.