Forums

WP-ShortStat and Google Sitemaps plugin? (4 posts)

  1. Dgold
    Member
    Posted 6 years ago #

    WP-ShortStat 1.3 and Google Sitemaps 2.7 plugin seem to be incompatible at this time. Under WP1.5.2 with WP-SS running I activated Sitemaps plugin. At that time WP-SS quit counting. When I disable Sitemaps, WP-SS resumes counting normally.

    http://dev.wp-plugins.org/wiki/wp-shortstat
    http://www.arnebrachhold.de/2005/06/05/google-sitemaps-generator-v2-final

    Also mentioned in these threads
    http://wordpress.org/support/topic/34905
    http://wordpress.org/support/topic/38873

    Are the plugin authors around on this forum? Anyone know a solution?

  2. Beel
    Member
    Posted 6 years ago #

    Don't have the plugins but you can certainly look at both of them and see what they have in common, maybe they share a variable name which would be easy to change in one or the other. I've had a similar problem from time to time between hacks and now plugins.

  3. Arne
    Member
    Posted 6 years ago #

    Hi,

    i had a look at the ShortStats Plugin and found the conflict. The Sitemap Generator uses some admin functions which are not included by default. The ShortStats plugin checks if the function "check_admin_referer" exists and assumes that you're always on an admin page which doesn't count, of course.

    I removed the " || is_admin_page()" on line 96 in the ShortStats plugin and it looks like it's working now.

    Best regards,

    Arne

  4. Dgold
    Member
    Posted 6 years ago #

    Thanks arnee. I really did not understand your explanation but I will try removing the code you said. That won't mess up Shortstat? Okay...

Topic Closed

This topic has been closed to new replies.

About this Topic