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