mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 14:43:49 +09:00
Remove notices
This commit is contained in:
@@ -274,6 +274,8 @@
|
||||
$role = um_get_option('default_role');
|
||||
}
|
||||
|
||||
if( empty( $role ) ) return;
|
||||
|
||||
$role = apply_filters('um_register_hidden_role_field', $role );
|
||||
if( $role ){
|
||||
echo '<input type="hidden" name="role" id="role" value="' . $role . '" />';
|
||||
|
||||
Reference in New Issue
Block a user