Skip to content

Commit 6e5d907

Browse files
committed
Bump version to 6.9.7 and update content filter priority
Updated plugin version to 6.9.7 in package.json, plugin.php, and readme.txt. Changed the priority of the 'the_content' filter to 999 to address compatibility with GeneratePress Dynamic Tags. Changelog updated to reflect the fix.
1 parent 44c39d6 commit 6e5d907

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "simpletoc",
3-
"version": "6.9.6",
3+
"version": "6.9.7",
44
"author": "Marc Tönsing",
55
"description": "SEO-friendly Table of Contents Gutenberg block. No JavaScript and no CSS means faster loading.",
66
"main": "build/index.js",

plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: SimpleTOC - Table of Contents Block
44
* Plugin URI: https://marc.tv/simpletoc-wordpress-inhaltsverzeichnis-plugin-gutenberg/
55
* Description: SEO-friendly Table of Contents Gutenberg block. No JavaScript and no CSS means faster loading.
6-
* Version: 6.9.6
6+
* Version: 6.9.7
77
* Author: Marc Tönsing
88
* Author URI: https://toensing.com
99
* Text Domain: simpletoc
@@ -164,7 +164,7 @@ function simpletoc_add_ids_to_content( $content ) {
164164
return $content;
165165
}
166166

167-
add_filter( 'the_content', __NAMESPACE__ . '\simpletoc_add_ids_to_content', 1 );
167+
add_filter( 'the_content', __NAMESPACE__ . '\simpletoc_add_ids_to_content', 999 );
168168

169169
/**
170170
* Recursively adds IDs to the headings of a nested block structure.

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: MarcDK
33
Tags: TOC, Table of Contents, Block, Accessibility, Table
44
Requires at least: 5.9
55
Tested up to: 6.9
6-
Stable tag: 6.9.6
6+
Stable tag: 6.9.7
77
Requires PHP: 7.3
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -70,6 +70,9 @@ SimpleTOC is open-source and developed on [GitHub Pages](https://github.com/mtoe
7070

7171
== Changelog ==
7272

73+
= 6.9.7 =
74+
* Fixed: GeneratePress Dynamic Tags work again - hopefully. If not, please report here https://github.com/mtoensing/simpletoc/issues/79#issuecomment-3745650464 Thanks @jhanten
75+
7376
= 6.9.6 =
7477
* Added: Coding standards cleanup with improved rules, cleaner code, safer output, and consistent naming. Thanks @ronalfy
7578
* Added: Minimum PHP version requirement set to 7.3

0 commit comments

Comments
 (0)