Skip to content

Commit

Permalink
Make string in fallback method translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
pattonwebz committed Feb 11, 2018
1 parent 8ddb536 commit 384201b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class-wp-bootstrap-navwalker.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ public static function fallback( $args ) {
if ( $menu_class ) {
$fallback_output .= ' class="' . esc_attr( $menu_class ) . '"'; }
$fallback_output .= '>';
$fallback_output .= '<li><a href="' . esc_url( admin_url( 'nav-menus.php' ) ) . '" title="">' . esc_attr( 'Add a menu', '' ) . '</a></li>';
$fallback_output .= '<li><a href="' . esc_url( admin_url( 'nav-menus.php' ) ) . '" title="' . esc_attr__( 'Add a menu', 'wp-bootstrap-navwalker' ) . '">' . esc_html__( 'Add a menu', 'wp-bootstrap-navwalker' ) . '</a></li>';
$fallback_output .= '</ul>';
if ( $container ) {
$fallback_output .= '</' . esc_attr( $container ) . '>';
Expand Down

0 comments on commit 384201b

Please sign in to comment.