| @@ -14,9 +14,11 @@ | ||
| 14 | 14 | |
| 15 | 15 | $wp_admin_bar->add_menu( array( |
| 16 | 16 | 'parent' => 'top-secondary', |
| 17 | 17 | 'id' => 'bogo-user-locale', |
| 18 | - 'title' => '✔ ' . $current_language ) ); | |
| 18 | + 'title' => sprintf( | |
| 19 | + '<span class="ab-icon"></span><span class="ab-label">%s</span>', | |
| 20 | + esc_html( $current_language ) ) ) ); | |
| 19 | 21 | |
| 20 | 22 | $available_languages = bogo_available_languages( array( |
| 21 | 23 | 'exclude' => array( $current_locale ), |
| 22 | 24 | 'exclude_enus_if_inactive' => true, |