mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Fix add error filter
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ class UM_Form {
|
||||
function add_error( $key, $error ) {
|
||||
if ( ! isset( $this->errors[ $key ] ) ){
|
||||
|
||||
$error = apply_filters('um_submit_form_error', $key, $error );
|
||||
$error = apply_filters('um_submit_form_error', $error , $key );
|
||||
|
||||
$this->errors[ $key ] = $error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user