diff --git a/classes/ActionScheduler_AdminView.php b/classes/ActionScheduler_AdminView.php index 91d8b1892..d87861e78 100644 --- a/classes/ActionScheduler_AdminView.php +++ b/classes/ActionScheduler_AdminView.php @@ -40,7 +40,7 @@ public function init() { public function system_status_report() { $table = new ActionScheduler_wcSystemStatus( ActionScheduler::store() ); - $table->print(); + $table->render(); } /** diff --git a/classes/ActionScheduler_wcSystemStatus.php b/classes/ActionScheduler_wcSystemStatus.php index ec7f5a446..3213d7cce 100644 --- a/classes/ActionScheduler_wcSystemStatus.php +++ b/classes/ActionScheduler_wcSystemStatus.php @@ -21,7 +21,7 @@ function __construct( $store ) { * * Helpful to identify issues, like a clogged queue. */ - public function print() { + public function render() { $action_counts = $this->store->action_counts(); $status_labels = $this->store->get_status_labels(); $oldest_and_newest = $this->get_oldest_and_newest( array_keys( $status_labels ) ); @@ -126,4 +126,22 @@ protected function get_template( $status_labels, $action_counts, $oldest_and_new