Jannick Knudsen 5 лет назад
Родитель
Сommit
1cce11e0e2
5 измененных файлов с 8 добавлено и 5 удалено
  1. 1 1
      VERSION
  2. 1 0
      VERSIONLOG
  3. 1 1
      package.json
  4. 3 1
      plug_update_plugin.php
  5. 2 2
      plugin.php

+ 1 - 1
VERSION

@@ -1 +1 @@
-v0.0.9
+v0.0.10

+ 1 - 0
VERSIONLOG

@@ -8,3 +8,4 @@ v0.0.6
 v0.0.7
 v0.0.8
 v0.0.9
+v0.0.10

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "dagsplug",
-  "version": "0.0.9",
+  "version": "0.0.10",
   "description": "",
   "main": "script_backend.js",
   "scripts": {

+ 3 - 1
plug_update_plugin.php

@@ -37,8 +37,10 @@ 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']);
-		$this->status = 'Remote version: '.$version." URL: ".$url;
 		$url = "https://git.tum.dk/tum.dk/dagsplug/archive/".$version.".zip";
+
+		$this->status = 'Remote version: '.$version." URL: ".$url.":::";
+
 		$this->possible = false;
 		if($this->plugin_get("Version") == $version) return false;
 		$this->possible = true;

+ 2 - 2
plugin.php

@@ -4,14 +4,14 @@
  Plugin URI: https://git.tum.dk/tum.dk/dagsplug/
  Description: Tools 
  Author: iskedk
- Version: 0.0.9
+ Version: 0.0.10
  Date: Fri Jan 31 2014 13:19:21 GMT+0100 (CET)
  Author URI: https://iske.dk/
  */
 
 $wp_dagsopt = new dagsopt ( );
 class dagsopt {
-	var $version = "0.0.9";
+	var $version = "0.0.10";
 	var $publish_date = "2020-04-24";
 	var $pluginname;
 	var $plugintitle;