mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Add notice element to a select field
This commit is contained in:
@@ -3056,10 +3056,13 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
||||
$output .= '</div>';
|
||||
|
||||
|
||||
if ( $this->is_error( $form_key ) ) {
|
||||
$output .= $this->field_error( $this->show_error( $form_key ) );
|
||||
if ( $this->is_error( $form_key) ) {
|
||||
$output .= $this->field_error( $this->show_error( $form_key) );
|
||||
}else if ( $this->is_notice( $form_key) ) {
|
||||
$output .= $this->field_notice( $this->show_notice( $form_key) );
|
||||
}
|
||||
|
||||
|
||||
$output .= '</div>';
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user