From 870f7ddfcf848b42c1597122de6c58adaedebb55 Mon Sep 17 00:00:00 2001 From: Ron Rennick Date: Mon, 8 Apr 2019 16:04:56 -0300 Subject: [PATCH] add WCA queue group to the unsnooze notes scheduled action --- .../woocommerce-admin/includes/notes/class-wc-admin-notes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce-admin/includes/notes/class-wc-admin-notes.php b/plugins/woocommerce-admin/includes/notes/class-wc-admin-notes.php index 8b5a510f771..8b858533c1e 100644 --- a/plugins/woocommerce-admin/includes/notes/class-wc-admin-notes.php +++ b/plugins/woocommerce-admin/includes/notes/class-wc-admin-notes.php @@ -131,7 +131,7 @@ class WC_Admin_Notes { $next = $queue->get_next( self::UNSNOOZE_HOOK ); if ( ! $next ) { - $queue->schedule_recurring( time(), HOUR_IN_SECONDS, self::UNSNOOZE_HOOK ); + $queue->schedule_recurring( time(), HOUR_IN_SECONDS, self::UNSNOOZE_HOOK, array(), WC_Admin_Reports_Sync::QUEUE_GROUP ); } } }