Skip to content

Commit

Permalink
Discussion block editor change
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenjacoby committed Apr 24, 2021
1 parent 1875b2f commit b58bd8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Admin/Support/BlockEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public function __construct($config = false)
}

wp_enqueue_script('intervention-block-editor', plugin_dir_url(__DIR__) . 'Support/BlockEditor.js', ['wp-blocks', 'wp-edit-post']);

wp_localize_script('intervention-block-editor', 'config', $config);
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/Application/Support/Comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static function remove() {
Admin::set('settings.discussion', true);
Admin::set('appearance.widgets.available.recent-comments', true);
Admin::set('users.profile.options.shortcuts', true);
BlockEditor::set('discussion', true);
BlockEditor::set(['discussion']);
}

/**
Expand Down

0 comments on commit b58bd8c

Please sign in to comment.