WordPress.org

Forums

wp-days-ago
[resolved] wrong 'days ago' after upgrade from 2.5 to 2.5.1 (3 posts)

  1. heinnge
    Member
    Posted 2 years ago #

    for the post i just published, it says '42 years, 303 days ago' with the usage (wp_days_ago), but when i use wp_days_ago_ajax, it works fine.

    Any idea?

    http://wordpress.org/extend/plugins/wp-days-ago/

  2. heinnge
    Member
    Posted 2 years ago #

    and got it working with the fix

    -	echo wp_days_ago_internal(get_the_ID(), $mode, $prepend, $append, $texts);
    +	echo wp_days_ago_internal(get_the_time("U", get_the_ID()), $mode, $prepend, $append, $texts);
  3. Vegard Skjefstad
    Member
    Plugin Author

    Posted 2 years ago #

    Oh, man. That's embarrassing. Thanks for reporting this and shame on me for not testing enough. Fixed in 2.5.2.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • wp-days-ago
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.