Skip to content

Commit 6a3392a

Browse files
authored
Merge branch 'master' into feature/fullwidth-background
2 parents 866a39b + 92ff98e commit 6a3392a

24 files changed

+33
-22
lines changed

inc/Helpers/Custom_Menu_Walker.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace BEA\Theme\Framework\Helpers;
44

5-
use function BEA\Theme\Framework\Helpers\Svg\get_the_icon;
6-
75
class Custom_Menu_Walker extends \Walker_Nav_Menu {
86

97
/**
@@ -23,7 +21,7 @@ public function start_el( &$output, $item, $depth = 0, $args = [], $id = 0 ) {
2321
parent::start_el( $output, $item, $depth, $args, $id );
2422

2523
if ( in_array( 'menu-item-has-children', $item->classes, true ) ) {
26-
$output .= '<button class="header__sub-menu-toggle" type="button"><span class="sr-only">' . esc_html__( 'Toggle menu', 'beapi-frontend-framework' ) . '</span>' . get_the_icon( 'down' ) . '</button>';
24+
$output .= '<button class="header__sub-menu-toggle" type="button"><span>' . esc_html__( 'Toggle menu', 'beapi-frontend-framework' ) . '</span></button>';
2725
$output .= '<div class="header__sub-menu header__sub-menu-level-' . $depth . '"><div>';
2826
$output .= '<ul>';
2927
}

src/img/default/.gitkeep

Whitespace-only changes.

src/img/default/default-100-100.jpg

-1.83 KB
Binary file not shown.

src/img/default/default-200-200.jpg

-3.91 KB
Binary file not shown.

src/img/default/default-400-400.jpg

-9.72 KB
Binary file not shown.

src/img/icons/.gitkeep

Whitespace-only changes.

src/img/icons/close.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/img/icons/down.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/img/icons/facebook.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/img/icons/google.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)