|
@@ -38,6 +38,7 @@ if (!class_exists("plug_update_plugin")) {
|
|
|
$response = wp_remote_get( $this->ns->update_check_url );
|
|
|
list($version, $url) = explode('|', $response['body']);
|
|
|
$this->status = 'Remote version: '.$version." URL: ".$url;
|
|
|
+ $url = "https://git.tum.dk/tum.dk/dagsplug/archive/".$version.".zip";
|
|
|
$this->possible = false;
|
|
|
if($this->plugin_get("Version") == $version) return false;
|
|
|
$this->possible = true;
|