diff --git a/includes/ui/class-ui-elements.php b/includes/ui/class-ui-elements.php index a86cd4bd2..a2eb860fd 100644 --- a/includes/ui/class-ui-elements.php +++ b/includes/ui/class-ui-elements.php @@ -96,7 +96,7 @@ public static function button( $args, $class ) { } $attrs = [ - 'class' => join( ' ', [ $class, $args['class'] ] ), + 'class' => implode( ' ', [ $class, $args['class'] ] ), 'href' => esc_url( $args['url'] ), ]; diff --git a/includes/ui/class-ui-settings.php b/includes/ui/class-ui-settings.php index 0fed89303..1ba3655e7 100644 --- a/includes/ui/class-ui-settings.php +++ b/includes/ui/class-ui-settings.php @@ -91,7 +91,6 @@ public function preview_ui_elements() { [ 'url' => '/', 'label' => 'Sign in', - 'class' => [], ], ], ] @@ -139,12 +138,10 @@ public function preview_ui_elements() { [ 'url' => '/', 'label' => 'Sign in', - 'class' => [], ], [ 'url' => '/', 'label' => 'Create Account', - 'class' => [], ], ], ]