Forráskód Böngészése

Bumped version to 0.0.41

Jannick Knudsen 4 éve
szülő
commit
94c0370562
5 módosított fájl, 6 hozzáadás és 5 törlés
  1. 1 1
      VERSION
  2. 1 0
      VERSIONLOG
  3. 1 1
      package.json
  4. 1 1
      plug_login.php
  5. 2 2
      plugin.php

+ 1 - 1
VERSION

@@ -1 +1 @@
-v0.0.40
+v0.0.41

+ 1 - 0
VERSIONLOG

@@ -39,3 +39,4 @@ v0.0.37
 v0.0.38
 v0.0.39
 v0.0.40
+v0.0.41

+ 1 - 1
package.json

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

+ 1 - 1
plug_login.php

@@ -229,13 +229,13 @@ if (!class_exists("plug_login")) {
 
 		function login_head() {
 			$type = (empty($_REQUEST['type']) || !($_REQUEST['type'] == "Select" || $_REQUEST['type'] == "Pro")) ? " " : $_REQUEST['type'];
-			$type = "";
 			if ($type !== "") {
 				?>
 		<script type='text/javascript' src='/wp-includes/js/jquery/jquery.js?ver=1.4.2'></script>
 		<script type="text/javascript">
 			jQuery(document).ready(function(){
 				if(jQuery("form").length>0 && jQuery("form").attr('action').indexOf('register')>-1){
+					console.log("SPECIAL REGV");
 					jQuery("form").prepend('<h3><?php echo ($type) ?></h3><br>');
 					jQuery("p:contains('Brugernavn')").hide();
 

+ 2 - 2
plugin.php

@@ -4,7 +4,7 @@ Plugin Name: dagsopt
 Plugin URI: https://git.tum.dk/tum.dk/dagsplug/
 Description: Tools
 Author: iskedk
-Version: 0.0.40
+Version: 0.0.41
 Date: 2021-01-14
 Author URI: https://iske.dk/
 Text Domain: dagsopt
@@ -17,7 +17,7 @@ function wppluginspage() {
 $wp_dagsopt = new dagsopt();
 
 class dagsopt {
-	var $version = "0.0.40";
+	var $version = "0.0.41";
 	var $publish_date = "2021-01-14";
 	var $pluginname;
 	var $plugintitle;