Skip to content

Commit fcbe886

Browse files
authored
Update class-redux-args.php
This line throwing error. I added an isset check to clear the error.
1 parent 99bee52 commit fcbe886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redux-core/inc/classes/class-redux-args.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public function __construct( $parent, array $args ) {
173173
$args['font_display'] = 'swap';
174174
}
175175

176-
if ( $args['async_typography'] ) {
176+
if ( isset($args['async_typography']) && $args['async_typography'] ) {
177177
$args['async_typography'] = false;
178178
}
179179

0 commit comments

Comments
 (0)