WordPress.org

Ready to get started?Download WordPress

Forums

WordPress.com Popular Posts
[resolved] container closing div missing when no top posts fetched (4 posts)

  1. sebmeric
    Member
    Posted 3 years ago #

    hi,

    it seems the closing div is missing when you have the "error: no top-posts fetched" message displayed.

    i added echo "</div>\n"; on line 230 juste before the return; and it's fine now.

    thanx.

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

  2. frasten
    Member
    Plugin Author

    Posted 3 years ago #

    Thank you for reporting. I'd replace echo "</div>" with echo $after_widget;.
    Can you test if this works for you, so I can commit the fix?
    Thank you!

  3. sebmeric
    Member
    Posted 3 years ago #

    oups :) you're right, that's the right thing to do and, of course, it works !

    thanx

  4. frasten
    Member
    Plugin Author

    Posted 3 years ago #

    Thank you for reporting, I've just fixed this in the trunk, you'll see it in the next version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic