WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
Patch suggestion (2 posts)

  1. em-squared
    Member
    Posted 2 years ago #

    Hello,

    We are experiencing trouble in using the most popular posts plugin. We use a wordpress installation with only logged in users trough a SSO. The plugin does not register activity if users are authenticated.

    I suggest to change the line 471 of wordpress-popular-posts.php:

    if ( (is_single() || is_page()) && !is_user_logged_in() ) {
    by:
    if ( (is_single() || is_page()) ) {

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 2 years ago #

    Hi there,

    Another user also suggested this some time ago. I might include an option within WPP to allow people decide whether to include views from logged-in users or not. In the meanwhile, whoever needs to register views from authenticated users will have to do what you suggested.

    Thanks for your comment!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic