mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-12 03:06:23 +09:00
Remove notice in empty label of confirm password
This commit is contained in:
@@ -2397,7 +2397,7 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
||||
|
||||
if( ! empty( $placeholder ) && ! isset( $data['label'] ) ){
|
||||
$placeholder = sprintf( __( 'Confirm %s', 'ultimate-member' ), $placeholder );
|
||||
}else{
|
||||
}else if( isset( $data['label'] ) ){
|
||||
$placeholder = sprintf( __( 'Confirm %s', 'ultimate-member' ), $data['label'] );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user