From 7dfb1d6df36b78fafdf89693fbb763e4fef814d7 Mon Sep 17 00:00:00 2001 From: Ron Rennick Date: Fri, 13 Mar 2020 13:55:57 -0300 Subject: [PATCH] add null action check to list table display items --- classes/ActionScheduler_ListTable.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/classes/ActionScheduler_ListTable.php b/classes/ActionScheduler_ListTable.php index 3fa73a55..9e306946 100644 --- a/classes/ActionScheduler_ListTable.php +++ b/classes/ActionScheduler_ListTable.php @@ -527,6 +527,9 @@ public function prepare_items() { } catch ( Exception $e ) { continue; } + if ( is_a( $action, 'ActionScheduler_NullAction' ) ) { + continue; + } $this->items[ $action_id ] = array( 'ID' => $action_id, 'hook' => $action->get_hook(),