WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostViews
BUG: Wrong incrementation in Firefox (3 posts)

  1. Radu Serbanescu
    Member
    Posted 1 year ago #

    This behavior was seen only in Firefox 16 (I mention that I tried it in Private Mode too, so no possible cookie or cache problems)

    What toggles behavior: If you view a post that doesn't have "views" meta added yet (an un-viewed post, created before the plugin installation)

    After that, when you view any post it also increments the views of the next newer post.

    http://wordpress.org/extend/plugins/wp-postviews/

  2. Kerfred
    Member
    Posted 1 year ago #

    Same problem. I think that it is because Firefox is preloading the next post when it founds "link rel='next'".

  3. Radu Serbanescu
    Member
    Posted 1 year ago #

    Indeed, Firefox preloads the next post when it finds "link rel='next'".
    I am currently using a different plugin, but the problem might be solved if you remove the "next" and "previous" links using this in your functions.php:

    remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0 );

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic