From 384201b918dd4e395e5f8bf5091b367a62c7a480 Mon Sep 17 00:00:00 2001 From: William Patton Date: Sun, 11 Feb 2018 11:28:31 +0000 Subject: [PATCH] Make string in fallback method translatable --- class-wp-bootstrap-navwalker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class-wp-bootstrap-navwalker.php b/class-wp-bootstrap-navwalker.php index 9a54959..5a04143 100644 --- a/class-wp-bootstrap-navwalker.php +++ b/class-wp-bootstrap-navwalker.php @@ -365,7 +365,7 @@ public static function fallback( $args ) { if ( $menu_class ) { $fallback_output .= ' class="' . esc_attr( $menu_class ) . '"'; } $fallback_output .= '>'; - $fallback_output .= '
  • ' . esc_attr( 'Add a menu', '' ) . '
  • '; + $fallback_output .= '
  • ' . esc_html__( 'Add a menu', 'wp-bootstrap-navwalker' ) . '
  • '; $fallback_output .= ''; if ( $container ) { $fallback_output .= '';