From 158172880f573bbb2bb741935b1d5a6d94568216 Mon Sep 17 00:00:00 2001 From: Eric van der Vlist Date: Thu, 26 Jan 2012 22:16:57 +0100 Subject: [PATCH] Support wget 1.11 (ticket #5) --- wordpress/plugins/owark/owark.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordpress/plugins/owark/owark.php b/wordpress/plugins/owark/owark.php index 9ab1dca..099d0cd 100644 --- a/wordpress/plugins/owark/owark.php +++ b/wordpress/plugins/owark/owark.php @@ -159,7 +159,7 @@ if (!class_exists("Owark")) { // We need as least version 1.11 or higher $helper = preg_match('/GNU Wget ([0-9\.]+) /', $output[0], $wget_version); if ( $wget_version[1] < '1.11' ) { - $this->notices = $this->notices . "

The Open Web Archives needs wget version 1.12 or higher.
Version read: {$wget_version[0]}

"; + $this->notices = $this->notices . "

The Open Web Archives needs wget version 1.11 or higher.
Version read: {$wget_version[0]}

"; } if ($this->notices != '') {