Skip to content

Commit 6220e00

Browse files
committed
on activation, initialize svg styles conditionally
1 parent 87c4adb commit 6220e00

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

includes/class-fontawesome-activator.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ public static function initialize_current_site( $force ) {
9191
self::initialize_conflict_detection_options();
9292
}
9393

94-
self::initialize_svg_styles();
94+
if ( fa()->is_block_editor_support_enabled() ) {
95+
self::initialize_svg_styles();
96+
}
9597
}
9698

9799
/**

0 commit comments

Comments
 (0)