plugin updates
This commit is contained in:
@@ -23,13 +23,12 @@ class ActionScheduler_LogEntry {
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param mixed $action_id Action ID
|
||||
* @param string $message Message
|
||||
* @param Datetime $date Datetime object with the time when this log entry was created. If this parameter is
|
||||
* not provided a new Datetime object (with current time) will be created.
|
||||
* @param mixed $action_id Action ID.
|
||||
* @param string $message Message.
|
||||
* @param Datetime $date Datetime object with the time when this log entry was created. If this parameter is
|
||||
* not provided a new Datetime object (with current time) will be created.
|
||||
*/
|
||||
public function __construct( $action_id, $message, $date = null ) {
|
||||
|
||||
/*
|
||||
* ActionScheduler_wpCommentLogger::get_entry() previously passed a 3rd param of $comment->comment_type
|
||||
* to ActionScheduler_LogEntry::__construct(), goodness knows why, and the Follow-up Emails plugin
|
||||
@@ -56,10 +55,16 @@ class ActionScheduler_LogEntry {
|
||||
return $this->date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get action ID of log entry.
|
||||
*/
|
||||
public function get_action_id() {
|
||||
return $this->action_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get log entry message.
|
||||
*/
|
||||
public function get_message() {
|
||||
return $this->message;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user