fix plugin version check

This commit is contained in:
joyqi
2017-12-14 11:37:15 +08:00
parent 2e9f64a7f7
commit 42495b36a3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -370,7 +370,7 @@ class Typecho_Plugin
$items = array_map('trim', explode('-', $versionRange));
if (count($items) < 2) {
$items[1] = $items[0];
$items[1] = '9999.9999.9999';
}
list ($minVersion, $maxVersion) = $items;
+1 -1
View File
@@ -128,7 +128,7 @@ class Widget_Plugins_Edit extends Widget_Abstract_Options implements Widget_Inte
} else {
$result = _t('<a href="%s">%s</a> 无法在此版本的typecho下正常工作', $info['link'], $info['title']);
$result = _t('<a href="%s">%s</a> 无法在此版本的typecho下正常工作', $info['homepage'], $info['title']);
}