Skip to content

Commit

Permalink
Fix: Media blocks crash on site editor.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Jul 1, 2021
1 parent fe77cd3 commit 8a520e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/full-site-editing/edit-site-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ function gutenberg_edit_site_init( $hook ) {
wp_enqueue_script( 'wp-format-library' );
wp_enqueue_style( 'wp-edit-site' );
wp_enqueue_style( 'wp-format-library' );
wp_enqueue_media();

if (
current_theme_supports( 'wp-block-styles' ) ||
Expand Down

0 comments on commit 8a520e9

Please sign in to comment.