| @@ -89,12 +89,8 @@ | ||
| 89 | 89 | <?php |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | function bogo_select_own_locale( $profileuser ) { |
| 93 | - if ( ! empty( $profileuser->locale ) ) { // WordPress 4.7+ | |
| 94 | - return; | |
| 95 | - } | |
| 96 | - | |
| 97 | 93 | $available_languages = bogo_available_languages( array( |
| 98 | 94 | 'exclude_enus_if_inactive' => true, |
| 99 | 95 | 'orderby' => 'value', |
| 100 | 96 | 'current_user_can_access' => true ) ); |