diff --git a/inc/class-main.php b/inc/class-main.php index 9eeb853e1..7cde4d20b 100644 --- a/inc/class-main.php +++ b/inc/class-main.php @@ -175,6 +175,10 @@ public function used_css_properties( $attr ) { 'text-transform', 'transform', ); + // Return $props if $attr is not an array, addressing a specific edge case. + if ( ! is_array( $attr ) ) { + return $props; + } $list = array_merge( $props, $attr );