diff --git a/.gitignore b/.gitignore index ceae2f8..3c2f5b0 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ cache/*.txt *.ini .vscode/* .SynologyWorkingDirectory/* -*/cache/* +*/cache/* \ No newline at end of file diff --git a/assets/assets_load.php b/assets/assets_load.php index 79b95dd..44c685c 100644 --- a/assets/assets_load.php +++ b/assets/assets_load.php @@ -64,7 +64,7 @@ jQuery(function($) { } }); $(".add-shortcode").click(function() { - send_to_editor("" + $(this).data("shortcodes") + ""); + send_to_editor( $(this).data("shortcodes") ); $(".shortcodes-wrap").removeClass("is-active"); return false }); diff --git a/framework/plugin-options.php b/framework/plugin-options.php index ea04253..f41d4b3 100644 --- a/framework/plugin-options.php +++ b/framework/plugin-options.php @@ -71,7 +71,7 @@ $activePanelIdx = $_GET['panel'] ?? 0; echo '
  • ' . $name . '
  • '; } ?> -
  • 关于插件
  • +
  • 关于