WordPress.org

Ready to get started?Download WordPress

Forums

WP Power Stats
[resolved] Top posts widget links don't work (4 posts)

  1. leemon
    Member
    Posted 1 year ago #

    Hi!

    Just posting this to inform you that the top posts widget links don't work. Checking the dashboard.php file I see:

    <tr><td class="order"><?php echo $i ?>.</td><td class="link"><a href=""><?php echo $post['title'] ?></a></td></tr>

    The href attribute is empty.

    Regards

    http://wordpress.org/plugins/wp-power-stats/

  2. leemon
    Member
    Posted 1 year ago #

    I fixed it changing the previous line to:

    <tr><td class="order"><?php echo $i ?>.</td><td class="link"><a href="<?php echo get_permalink($post['post_id']); ?>"><?php echo $post['title'] ?></a></td></tr>

  3. artifex404
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you for your bug report and the fix. It will be included in the next version.

  4. artifex404
    Member
    Plugin Author

    Posted 1 year ago #

    The issue has been fixed as of version 1.1.1.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.