PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.7
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.7
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/controllers/FrmCronController.php +2 -6 6.256.7 View file →
@@ -2,10 +2,8 @@
2 2 /**
3 3 * Cron controller
4 4 *
5 5 * @since 6.3.2
6 - *
7 - * @package Formidable
8 6 */
9 7
10 8 if ( ! defined( 'ABSPATH' ) ) {
11 9 die( 'You are not allowed to call this page directly.' );
@@ -37,12 +35,10 @@
37 35 * @since 6.7
38 36 */
39 37 public static function schedule_events() {
40 38 $events = self::get_events();
41 -
42 - // These are scheduled in another place.
43 - unset( $events['formidable_send_usage'] );
44 - unset( $events['frm_payment_cron'] );
39 + unset( $events['formidable_send_usage'] ); // This is scheduled in another place.
40 + unset( $events['frm_payment_cron'] ); // This is scheduled in another place.
45 41
46 42 foreach ( $events as $event => $recurrence ) {
47 43 if ( ! wp_next_scheduled( $event ) ) {
48 44 wp_schedule_event( time(), $recurrence, $event );