Skip to content

Commit

Permalink
Remove classic theme styles for button blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
rilwis committed Aug 13, 2023
1 parent e78db4b commit 7ce3077
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/General.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public function remove_gutenberg_assets() {

// Remove inline global CSS on the front end.
wp_dequeue_style( 'global-styles' );

// Remove classic-themes CSS for backwards compatibility for button blocks.
wp_dequeue_style( 'classic-theme-styles' );
}

public function no_rest_api() {
Expand Down

0 comments on commit 7ce3077

Please sign in to comment.