StatTraq permalink support fix

Estimated reading time: 1 minute

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); }

Comments

2 réponses à “StatTraq permalink support fix”

  1. Avatar de Randy Peterman

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

  2. Avatar de admin

    okay ! 😉 sorry for the mistake ! I am not American so… lol