|
@@ -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;
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|