From 2d84f623752d5f7dfd28aa0b73ec62f79fbc2532 Mon Sep 17 00:00:00 2001 From: Matthias Konitzny <konitzny@ibr.cs.tu-bs.de> Date: Tue, 16 Nov 2021 17:59:02 +0100 Subject: [PATCH] Fixed an error in the PHP code and updated the plugin description. --- knowledge-space.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/knowledge-space.php b/knowledge-space.php index 783d2af..f3b167a 100644 --- a/knowledge-space.php +++ b/knowledge-space.php @@ -2,9 +2,9 @@ /* 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 -Author: Matthias Konitzny +Author: Matthias Konitzny, Maximilian Giller, Joscha Rode */ $GLOBALS['build'] = 'debug'; @@ -43,7 +43,7 @@ function ks_localize($handle, $atts) function ks_add_editor($atts = []) { ks_add_editor_dependencies(); - ks_localize("ks-editor-js"); + ks_localize("ks-editor-js", $atts); require_once(__DIR__ . '/editor/editor.php'); } -- GitLab