| @@ -49,11 +49,9 @@ | ||
| 49 | 49 | } |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | function bogo_set_accessible_locales( $profileuser ) { |
| 53 | - $available_languages = bogo_available_languages( array( | |
| 54 | - 'exclude_enus_if_inactive' => true, | |
| 55 | - 'orderby' => 'value' ) ); | |
| 53 | + $available_languages = bogo_available_languages( 'orderby=value' ); | |
| 56 | 54 | $accessible_locales = bogo_get_user_accessible_locales( $profileuser->ID ); |
| 57 | 55 | |
| 58 | 56 | if ( empty( $accessible_locales ) ) { |
| 59 | 57 | $accessible_locales = array_keys( $available_languages ); |
| @@ -90,9 +88,8 @@ | ||
| 90 | 88 | } |
| 91 | 89 | |
| 92 | 90 | function bogo_select_own_locale( $profileuser ) { |
| 93 | 91 | $available_languages = bogo_available_languages( array( |
| 94 | - 'exclude_enus_if_inactive' => true, | |
| 95 | 92 | 'orderby' => 'value', |
| 96 | 93 | 'current_user_can_access' => true ) ); |
| 97 | 94 | |
| 98 | 95 | $selected = bogo_get_user_locale( $profileuser->ID ); |
| @@ -112,4 +109,6 @@ | ||
| 112 | 109 | </tr> |
| 113 | 110 | |
| 114 | 111 | <?php |
| 115 | 112 | } |
| 113 | + | |
| 114 | +?> | |