• We use the plugin for two different quotes on our site. After replicating current site to Staging, I upgraded from 1.8 to 2.0. Now one of my quotes is one day in advance. Plugin shows it is day 194. If I look at the quotes by day, the quote for day 194 is not displayed. Instead the quote from day 195 is displayed. On my second quote, it is displaying the quote for day 194 properly. Not sure what is happening.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Me

    (@cyberws)

    There was a change in the way the plugin handles leap years.

    Old way:

    The plugin would just use the last day, count 366, on a leap year. However many people use a date in a quote section. This meant they would have to edit the quote information for leap years otherwise be a day off.

    New way:

    The plugin now advances one day after Feb 28th on non leap years. This allows those with dates to no longer have to edit their quote sections on leap years.

    Does this help?

    Thread Starter jbrenner98

    (@jbrenner98)

    So if I understand correctly, if I load an entire year of quotes at a time, I always leave a space for Feb 29, whether it is used in leap years or not used in non-leap years. Is that correct?

    Plugin Author Me

    (@cyberws)

    Correct. You should always add an extra entry between the Feb 28 and March 1 dates. Starting with version 2.0+.

    Thread Starter jbrenner98

    (@jbrenner98)

    I finally enabled version 2.4 in our Production environment and I am perplexed regarding what is happening. I have two quotes on two different pages. When I loaded the quotes for each I allowed for a dummy Feb 29 entry. When I am logged in as admin to the site, both pages show the quotes that I would expect for that day. However, when I log out, the quote on the home page shows the quote that was in place for the previous day, but the quote on the other page is the proper quote I am expecting for that day. – they somehow have gotten out of sync. Refreshing the browser does not fix the home page quote. So in recap, everything is fine if I am logged in as admin, but not fine when logged out.

    Plugin Author Me

    (@cyberws)

    Well that sounds like the result on the homepage has been cached by a caching plugin or you turned on memcached. In general caching plugins don’t cache when an admin is logged in but do for average users.

    Thread Starter jbrenner98

    (@jbrenner98)

    Yes, you are correct. We have a Managed WordPress site from GoDaddy and their server caching is causing the issue. I managed to turn it off for now.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Quote shown is one day off after upgrade from 1.8 to 2.0’ is closed to new replies.