浏览代码

Bumped version to 0.0.25

Jannick Knudsen 4 年之前
父节点
当前提交
f578ea1243
共有 5 个文件被更改,包括 51 次插入5 次删除
  1. 1 1
      VERSION
  2. 1 0
      VERSIONLOG
  3. 1 1
      package.json
  4. 46 1
      plug_classic.php
  5. 2 2
      plugin.php

+ 1 - 1
VERSION

@@ -1 +1 @@
-v0.0.24
+v0.0.25

+ 1 - 0
VERSIONLOG

@@ -23,3 +23,4 @@ v0.0.21
 v0.0.22
 v0.0.23
 v0.0.24
+v0.0.25

+ 1 - 1
package.json

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

+ 46 - 1
classic.php → plug_classic.php

@@ -925,6 +925,51 @@ class Classic_Editor {
 	}
 }
 
-add_action( 'plugins_loaded', array( 'Classic_Editor', 'init_actions' ) );
+
+
+
+
 
 endif;
+
+
+
+if (!class_exists("plug_body")) {
+	class plug_classic {	
+		function plug_classic($ns) {
+			$this->title = __("Admin bar","dagsopt");
+			$this->pluginname = $ns->pluginname;
+			$this->file = $ns->file;
+			$this->ns = $ns;
+
+		}
+		function start() {
+		//	add_filter('body_class', array(&$this,'extended_body_class') );
+			add_action( 'plugins_loaded', array( 'Classic_Editor', 'init_actions' ) );
+
+		}
+
+
+			function help(){
+				?>
+				Classic Editor				
+			<?php		
+			}
+	 
+	 
+	 	 	function admin_line(){
+		  ?>
+ 		  <?php  
+		}	
+	}
+
+	global $plug_classic;
+	$plug_classic = new plug_classic($this);		
+			$this->dagsopt['plug_classic'] = $plug_classic;
+			
+}
+
+
+
+
+

+ 2 - 2
plugin.php

@@ -4,14 +4,14 @@
  Plugin URI: https://git.tum.dk/tum.dk/dagsplug/
  Description: Tools 
  Author: iskedk
- Version: 0.0.24
+ Version: 0.0.25
  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.24";
+	var $version = "0.0.25";
 	var $publish_date = "2021-01-23";
 	var $pluginname;
 	var $plugintitle;