diff --git a/composer.json b/composer.json index 1501744..0aff134 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "require": { "underpin/script-loader": "^1.0", "underpin/style-loader": "^1.0", - "underpin/logger-loader": "^1.0" + "underpin/logger-loader": "^2.0" }, "autoload": { "files": [ diff --git a/lib/abstracts/Batch_Task.php b/lib/abstracts/Batch_Task.php index 29d4e62..7ad76e4 100644 --- a/lib/abstracts/Batch_Task.php +++ b/lib/abstracts/Batch_Task.php @@ -153,7 +153,7 @@ public function __get( $key ) { if ( isset( $this->$key ) ) { return $this->$key; } else { - return new WP_error( 'batch_task_param_not_set', 'The batch task key ' . $key . ' could not be found.' ); + return new WP_Error( 'batch_task_param_not_set', 'The batch task key ' . $key . ' could not be found.' ); } }