mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- fixed member directory sorting by the full name;
- fixed registration form with not editable role field;
This commit is contained in:
@@ -612,7 +612,8 @@ if ( ! class_exists( 'um\core\Form' ) ) {
|
||||
|
||||
if ( strstr( $field_key, 'role_' ) && is_array( $field_settings['options'] ) ) {
|
||||
|
||||
if ( $field_settings['editable'] == 0 ) {
|
||||
if ( isset( $this->post_form['mode'] ) && $this->post_form['mode'] == 'profile' &&
|
||||
isset( $field_settings['editable'] ) && $field_settings['editable'] == 0 ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user