From 48b85078af84b319f8dccffd841bccbba05c2249 Mon Sep 17 00:00:00 2001 From: xxsimoxx Date: Wed, 25 Mar 2020 16:14:03 +0100 Subject: [PATCH] Fix error display. --- stats-for-update-manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stats-for-update-manager.php b/stats-for-update-manager.php index d2c5ae0..fd31d4c 100755 --- a/stats-for-update-manager.php +++ b/stats-for-update-manager.php @@ -313,7 +313,7 @@ public function log_request($query) { if ($insert_status === false) { $error = $wpdb->last_error; if (!preg_match('/^Duplicate entry.*for key \'siteslug\'/', $error)) { - $this->warn('Stats for Update Manager insert query error: '.$error); + $this->warn('Stats for Update Manager insert query failed: '.$error); } }