mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed conditional logic for profile form fields on submit;
- small notices fixes;
This commit is contained in:
@@ -275,11 +275,13 @@ if ( ! class_exists( 'Fields' ) ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Print field error
|
||||
* @param string $text
|
||||
* @param boolean $force_show
|
||||
* Print field error
|
||||
*
|
||||
* @param string $text
|
||||
* @param bool $force_show
|
||||
* @return string
|
||||
*/
|
||||
function field_error($text, $force_show = false ) {
|
||||
function field_error( $text, $force_show = false ) {
|
||||
if ( $force_show ) {
|
||||
$output = '<div class="um-field-error"><span class="um-field-arrow"><i class="um-faicon-caret-up"></i></span>'.$text.'</div>';
|
||||
return $output;
|
||||
|
||||
Reference in New Issue
Block a user