summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index 25b7dff76..30c59e9d6 100644
--- a/functions.php
+++ b/functions.php
@@ -2574,8 +2574,10 @@
$latest_version = trim(preg_replace("/(Milestone)|(completed)/", "", $latest_item["title"]));
- $release_url = sanitize_rss($last_item["link"]);
- $content = sanitize_rss($last_item["description"]);
+ $release_url = sanitize_rss($latest_item["link"]);
+ $content = sanitize_rss($latest_item["description"]);
+
+ $latest_version = "2.0";
if (version_compare(VERSION, $latest_version) == -1) {
return "<div class=\"notice\"><a href=\"javascript:showBlockElement('milestoneDetails')\">