Skip to content
Snippets Groups Projects
Commit 2d84f623 authored by Matthias Konitzny's avatar Matthias Konitzny :fire:
Browse files

Fixed an error in the PHP code and updated the plugin description.

parent 2d9302ef
No related branches found
No related tags found
No related merge requests found
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
/* /*
Plugin Name: Knowledge Space Plugin Name: Knowledge Space
Description: This plugin adds a knowledge space to the website via a shortcode. Description: A Wordpress-Plugin to display knowledge in a graph-structured way.
Version: 1.0 Version: 1.0
Author: Matthias Konitzny Author: Matthias Konitzny, Maximilian Giller, Joscha Rode
*/ */
$GLOBALS['build'] = 'debug'; $GLOBALS['build'] = 'debug';
...@@ -43,7 +43,7 @@ function ks_localize($handle, $atts) ...@@ -43,7 +43,7 @@ function ks_localize($handle, $atts)
function ks_add_editor($atts = []) function ks_add_editor($atts = [])
{ {
ks_add_editor_dependencies(); ks_add_editor_dependencies();
ks_localize("ks-editor-js"); ks_localize("ks-editor-js", $atts);
require_once(__DIR__ . '/editor/editor.php'); require_once(__DIR__ . '/editor/editor.php');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment