mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-20 15:13:55 +09:00
- fixed default avatar URL for sites at subfolder;
- user registration optimization (removed edit profile handlers on user registration); - fixed "can edit" checkbox at Forms add field modal window;
This commit is contained in:
@@ -556,13 +556,13 @@
|
||||
/***
|
||||
*** @form processing
|
||||
***/
|
||||
add_action('um_submit_form_profile', 'um_submit_form_profile', 10);
|
||||
function um_submit_form_profile($args){
|
||||
add_action( 'um_submit_form_profile', 'um_submit_form_profile', 10 );
|
||||
function um_submit_form_profile( $args ) {
|
||||
|
||||
if ( !isset( UM()->form()->errors) ) do_action('um_user_edit_profile', $args);
|
||||
|
||||
do_action('um_user_profile_extra_hook', $args );
|
||||
if ( isset( UM()->form()->errors ) )
|
||||
return false;
|
||||
|
||||
do_action( 'um_user_edit_profile', $args );
|
||||
}
|
||||
|
||||
/***
|
||||
|
||||
Reference in New Issue
Block a user