WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. leemon
    Member
    Posted 2 years 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 2 years 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 2 years ago #

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

  4. artifex404
    Member
    Plugin Author

    Posted 2 years 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

  • WP Power Stats
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.