WordPress.org

Ready to get started?Download WordPress

Forums

WP CleanFix
[resolved] Please merge your cron schedules instead of nuking them (2 posts)

  1. Michael De Wildt
    Member
    Posted 1 year ago #

    In wpdk-wordpress-plugin.php:570 there is function that does not preserve cron schedules that other plugins have inserted.

    Please a good WP citizen and update the function to merge your schedules instead of nuking them. Like this:

    public function cron_schedules( $schedules ) {
        $new_schedules = array(
          'half_hour'   => array(
            'interval' => 1800,
            'display'  => __( 'Half hour', WPDK_TEXTDOMAIN )
          ),
          'two_minutes' => array(
            'interval' => 60 * 2,
            'display'  => __( 'Two minutes', WPDK_TEXTDOMAIN )
          ),
        );
        return array_merge( $schedules, $new_schedules );
      }

    Cheers,
    Mikey

    http://wordpress.org/plugins/wp-cleanfix/

  2. gfazioli
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Michael,
    thanks for your comment. We're digging into it and we'll patch as soon as we can.

    For the record: the latest version of CleanFix is now bundled with wpXtreme, a FREE plugin for which we can provide our users with full support.

    Cheers,

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.