PluginProbe
Bogo / 2.4
Bogo v2.4
3.9.3 trunk 1.0 1.1 2.0 2.0.1 2.1 2.1.1 2.1.2 2.1.3 2.2 2.3 2.4 2.4.1 2.4.2 2.4.3 2.5 2.6 2.6.1 2.7 2.8 2.8.1 2.9 3.0 3.0.1 All 52 releases
← All changes | admin/includes/user.php +3 -4 2.92.4 View file →
@@ -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 +?>