Skip to content

Commit

Permalink
Plugin: Avoid dynamic dependencies for wp-block-library style
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Mar 5, 2019
1 parent ce1c51c commit a9df08f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 107 deletions.
2 changes: 1 addition & 1 deletion lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function gutenberg_register_scripts_and_styles() {
gutenberg_override_style(
'wp-block-library',
gutenberg_url( 'build/block-library/style.css' ),
current_theme_supports( 'wp-block-styles' ) ? array( 'wp-block-library-theme' ) : array(),
array(),
filemtime( gutenberg_dir_path() . 'build/block-library/style.css' )
);
wp_style_add_data( 'wp-block-library', 'rtl', 'replace' );
Expand Down
106 changes: 0 additions & 106 deletions phpunit/class-core-block-theme-test.php

This file was deleted.

0 comments on commit a9df08f

Please sign in to comment.