Skip to content

Commit

Permalink
Remove unused $types check
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlende committed Dec 17, 2021
1 parent 9a814f4 commit fa40cfc
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ function wp_get_global_styles_svg_filters() {
// It's cached by theme to make sure that theme switching clears the cache.
$transient_name = 'gutenberg_global_styles_svg_filters_' . get_stylesheet();
$can_use_cached = (
( empty( $types ) ) &&
( ! defined( 'WP_DEBUG' ) || ! WP_DEBUG ) &&
( ! defined( 'SCRIPT_DEBUG' ) || ! SCRIPT_DEBUG ) &&
( ! defined( 'REST_REQUEST' ) || ! REST_REQUEST ) &&
Expand Down

0 comments on commit fa40cfc

Please sign in to comment.