From 6c73f7abef504b75da6dcfcbb0781d9bf0d228c8 Mon Sep 17 00:00:00 2001 From: Matthias Konitzny <konitzny@ibr.cs.tu-bs.de> Date: Wed, 6 Oct 2021 15:04:11 +0200 Subject: [PATCH] Removed unnecessary code. --- knowledge-space.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knowledge-space.php b/knowledge-space.php index 38c6b27..bf5ca23 100644 --- a/knowledge-space.php +++ b/knowledge-space.php @@ -50,7 +50,7 @@ function ks_add_editor_dependencies() //wp_register_script("ks-editor-js", plugins_url($script_path, __FILE__), array('jquery'), false); wp_localize_script( 'ks-editor-js', 'ajax_object', - array( 'ajax_url' => admin_url( 'admin-ajax.php' ), 'we_value' => 1234 ) ); + array( 'ajax_url' => admin_url( 'admin-ajax.php' ))); //wp_enqueue_script("ks-editor-js"); $style_file_version = date("ymd-Gis", filemtime(plugin_dir_path(__FILE__) . "editor/css/editor.css")); -- GitLab