From bdaadb41a92a1744fdd0c73b71184c8f1228f936 Mon Sep 17 00:00:00 2001 From: Marc Toensing Date: Tue, 13 Dec 2022 08:39:40 +0100 Subject: [PATCH] Fix: Prevent direct access to plugin files. Thanks @rafaucau! --- package-lock.json | 4 ++-- package.json | 2 +- plugin.php | 2 +- readme.txt | 5 ++++- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 13f5cd4..28c80cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "simpletoc", - "version": "5.0.52", + "version": "5.0.53", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "simpletoc", - "version": "5.0.52", + "version": "5.0.53", "license": "GPL-2.0-or-later", "dependencies": { "@wordpress/i18n": "^4.22.0", diff --git a/package.json b/package.json index 3c913d8..826c0da 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "simpletoc", - "version": "5.0.52", + "version": "5.0.53", "author": "Marc Tönsing", "description": "SEO-friendly Table of Contents Gutenberg block. No JavaScript and no CSS means faster loading.", "main": "build/index.js", diff --git a/plugin.php b/plugin.php index d7be0b1..9a9dfce 100644 --- a/plugin.php +++ b/plugin.php @@ -4,7 +4,7 @@ * Plugin Name: SimpleTOC - Table of Contents Block * Plugin URI: https://marc.tv/simpletoc-wordpress-inhaltsverzeichnis-plugin-gutenberg/ * Description: SEO-friendly Table of Contents Gutenberg block. No JavaScript and no CSS means faster loading. - * Version: 5.0.52 + * Version: 5.0.53 * Author: Marc Tönsing * Author URI: https://marc.tv * Text Domain: simpletoc diff --git a/readme.txt b/readme.txt index 7c344bc..5da93f5 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: Gutenberg, block, TOC, Table of Contents, AMP Requires at least: 5.9 Donate link: https://marc.tv/out/donate Tested up to: 6.1 -Stable tag: 5.0.52 +Stable tag: 5.0.53 Requires PHP: 7.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -47,6 +47,9 @@ SimpleTOC is open-source and developed on [GitHub Pages](https://github.com/mtoe == Changelog == += 5.0.53 = +* Fix: Prevent direct access to plugin files. Thanks rafaucau! + = 5.0.52 = * Fix: wp_set_script_translations undefined in older WordPress installations.