Skip to content

Commit

Permalink
Fix: Prevent direct access to plugin files.
Browse files Browse the repository at this point in the history
Thanks @rafaucau!
  • Loading branch information
mtoensing committed Dec 13, 2022
1 parent ebfc2a6 commit bdaadb4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit bdaadb4

Please sign in to comment.