Skip to content

Commit

Permalink
chore(editor): Update block_editor_settings filter for WordPress 5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x authored Jul 22, 2021
1 parent aaf52ef commit 56a1013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GutenTweaks.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function __construct($path, $uri)
*/
public function registerEditorSettings()
{
add_filter('block_editor_settings', function ($config) {
add_filter('block_editor_settings_all', function ($config) {
return array_merge($config, [
'autosaveInterval' => WEEK_IN_SECONDS,
]);
Expand Down

0 comments on commit 56a1013

Please sign in to comment.