• Resolved David Mondok

    (@davidmondok)


    Hi,

    basically on all our sites we have many duplicates in the select dropdown for the schedule intervals. Here’s a screenshot from one of our sites: https://cln.sh/UIwr

    Where does this plugin grab the intervals from? This particular site is hosted on Plesk btw. Maybe the plugin grabs the intervals from the server somehow?

    cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Papin Schipper

    (@papin)

    That’s odd.. It checks for all registered intervals inside WordPress, my guess is multiple plugins add the same interval in a different way and that’s causing duplicates.

    I’ve added the fix to the to-do list for the next version ??

    Thread Starter David Mondok

    (@davidmondok)

    Yeah, that seems to be the problem.

    You have to check the returned array from wp_get_schedules and filter it to contain only unique “interval” and “display” value combinations.

    • This reply was modified 4 years, 5 months ago by David Mondok.
    Plugin Author Papin Schipper

    (@papin)

    It’s fixed in version 3.5.4 ??

    Thread Starter David Mondok

    (@davidmondok)

    Hi,

    thanke mate. I just checked and saw, that the “Once per Day” option is not the default WordPress schedule but one added by a plugin. Maybe you can make sure, that you prioritize the default schedules in case the plugin that added the schedule gets deactivated.

    cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Schedule interval duplicates’ is closed to new replies.