WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack Post Views
[resolved] Drafts and scheduled posts showing error (5 posts)

  1. Marcelo Pedra
    Member
    Posted 10 months ago #

    Hi again, I found another bug, this one must be easy enough to fix.
    When you are seening the posts page, the scheduled posts and drafts are showing a php error:

    Warning: number_format() expects parameter 1 to be double, string given in /home/xxxxxxx/public_html/wp-includes/functions.php on line 155
    views

    Surely due to the fact the script wasn't expecting to find those kind of formats. It should show only 0 views, or an empty space at all.

    Thanks!! :)

    http://wordpress.org/plugins/jetpack-post-views/

  2. Steven Lambert
    Member
    Plugin Author

    Posted 10 months ago #

    Ya, I didn't think about scheduled posts or drafts. I'll get that fixed in the next patch.

  3. Marcelo Pedra
    Member
    Posted 10 months ago #

    Thank you :)

  4. Steven Lambert
    Member
    Plugin Author

    Posted 8 months ago #

    Fixed in version 1.0.9

  5. Marcelo Pedra
    Member
    Posted 8 months ago #

    Very good! Very glad to see this fixed. Thanks a lot!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.