Skip to content

Commit

Permalink
Remove array class arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
gikaragia committed Jun 14, 2024
1 parent fa43c76 commit 84468f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion includes/ui/class-ui-elements.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] ),
];

Expand Down
3 changes: 0 additions & 3 deletions includes/ui/class-ui-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ public function preview_ui_elements() {
[
'url' => '/',
'label' => 'Sign in',
'class' => [],
],
],
]
Expand Down Expand Up @@ -139,12 +138,10 @@ public function preview_ui_elements() {
[
'url' => '/',
'label' => 'Sign in',
'class' => [],
],
[
'url' => '/',
'label' => 'Create Account',
'class' => [],
],
],
]
Expand Down

0 comments on commit 84468f6

Please sign in to comment.