diff --git a/action-scheduler.php b/action-scheduler.php index f4f99524ad0..8c3117d92f5 100644 --- a/action-scheduler.php +++ b/action-scheduler.php @@ -5,7 +5,7 @@ * Description: A robust scheduling library for use in WordPress plugins. * Author: Prospress * Author URI: http://prospress.com/ - * Version: 2.2.3 + * Version: 2.2.4 * License: GPLv3 * * Copyright 2019 Prospress, Inc. (email : freedoms@prospress.com) @@ -25,21 +25,21 @@ * */ -if ( ! function_exists( 'action_scheduler_register_2_dot_2_dot_3' ) ) { +if ( ! function_exists( 'action_scheduler_register_2_dot_2_dot_4' ) ) { if ( ! class_exists( 'ActionScheduler_Versions' ) ) { require_once( 'classes/ActionScheduler_Versions.php' ); add_action( 'plugins_loaded', array( 'ActionScheduler_Versions', 'initialize_latest_version' ), 1, 0 ); } - add_action( 'plugins_loaded', 'action_scheduler_register_2_dot_2_dot_3', 0, 0 ); + add_action( 'plugins_loaded', 'action_scheduler_register_2_dot_2_dot_4', 0, 0 ); - function action_scheduler_register_2_dot_2_dot_3() { + function action_scheduler_register_2_dot_2_dot_4() { $versions = ActionScheduler_Versions::instance(); - $versions->register( '2.2.3', 'action_scheduler_initialize_2_dot_2_dot_3' ); + $versions->register( '2.2.4', 'action_scheduler_initialize_2_dot_2_dot_4' ); } - function action_scheduler_initialize_2_dot_2_dot_3() { + function action_scheduler_initialize_2_dot_2_dot_4() { require_once( 'classes/ActionScheduler.php' ); ActionScheduler::init( __FILE__ ); } diff --git a/classes/ActionScheduler_AdminView.php b/classes/ActionScheduler_AdminView.php index 91d8b189279..d87861e78e4 100644 --- a/classes/ActionScheduler_AdminView.php +++ b/classes/ActionScheduler_AdminView.php @@ -40,7 +40,7 @@ class ActionScheduler_AdminView extends ActionScheduler_AdminView_Deprecated { 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 ec7f5a44661..3213d7cce72 100644 --- a/classes/ActionScheduler_wcSystemStatus.php +++ b/classes/ActionScheduler_wcSystemStatus.php @@ -21,7 +21,7 @@ class ActionScheduler_wcSystemStatus { * * 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 @@ class ActionScheduler_wcSystemStatus { + Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found. GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see . + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see -. +. The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read -. \ No newline at end of file +.