Skip to content

Commit

Permalink
clean admin bar
Browse files Browse the repository at this point in the history
  • Loading branch information
vancoder committed Oct 23, 2023
1 parent 95b458a commit a87ddcb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/alley/wp/alleyvate/features/class-clean-admin-bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ public function before_admin_bar_render() {
public function get_disposable_nodes() {
$disposable_nodes = [
'comments',
//'customize',
//'notes',
'themes',
];

Expand Down
2 changes: 1 addition & 1 deletion src/alley/wp/alleyvate/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function load(): void {
*/
$features = [
'clean_admin_bar' => new Features\Clean_Admin_Bar(),
//'disable_comments' => new Features\Disable_Comments(),
'disable_comments' => new Features\Disable_Comments(),
'disable_dashboard_widgets' => new Features\Disable_Dashboard_Widgets(),
'disable_sticky_posts' => new Features\Disable_Sticky_Posts(),
'disable_trackbacks' => new Features\Disable_Trackbacks(),
Expand Down

0 comments on commit a87ddcb

Please sign in to comment.