Skip to content

Commit

Permalink
Hotfix for 500 error
Browse files Browse the repository at this point in the history
  • Loading branch information
mtoensing committed Apr 5, 2023
1 parent 881030c commit 7b6f705
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 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
Expand Up @@ -23,7 +23,7 @@
},
"devDependencies": {
"@wordpress/env": "^5.15.0",
"@wordpress/scripts": "^26.1.0"
"@wordpress/scripts": "26.1.0"
},
"dependencies": {
"@wordpress/i18n": "^4.30.0",
Expand Down
4 changes: 2 additions & 2 deletions plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,9 @@ function simpletoc_add_pagenumber($blocks, $headings)
* @var array[] $blocks
* @return array[]
*/
function filter_headings_recursive(array $blocks): array
function filter_headings_recursive($blocks)
{
$arr = [];
$arr = [];
// allow developers to ignore specific blocks
$ignored_blocks = apply_filters('simpletoc_excluded_blocks', []);

Expand Down

0 comments on commit 7b6f705

Please sign in to comment.