From dc6ff004a94faa44d41f2747cc6a0141d072d6e8 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Fri, 4 Jul 2014 15:50:54 +0200
Subject: [PATCH] rephrased error message. #681

---
 inc/plugin.php | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/inc/plugin.php b/inc/plugin.php
index fd19ba668..fbfc0325f 100644
--- a/inc/plugin.php
+++ b/inc/plugin.php
@@ -35,10 +35,11 @@ class DokuWiki_Plugin {
         $info = DOKU_PLUGIN . '/' . $parts[2] . '/plugin.info.txt';
         if(@file_exists($info)) return confToHash($info);
 
-        msg('getInfo() not implemented in ' . get_class($this) .
-            ' and ' . $info . ' not found.<br />Do you have installed the last version of the plugin? ' .
-            'If that is the case, this is a bug in the ' . $parts[2] . ' plugin and should be reported to the ' .
-            'plugin author.', -1);
+        msg(
+            'getInfo() not implemented in ' . get_class($this) . ' and ' . $info . ' not found.<br />' .
+            'Verify you\'re running the latest version of the plugin. If the problem persists, send a ' .
+            'bug report to the author of the ' . $parts[2] . ' plugin.', -1
+        );
         return array(
             'date' => '0000-00-00',
             'name' => $parts[2] . ' plugin',
-- 
GitLab