From 0b8ca8e3e7716c26eca41cbda1e5a82fc5888cd4 Mon Sep 17 00:00:00 2001 From: nikitasinelnikov Date: Thu, 17 Dec 2020 14:12:56 +0200 Subject: [PATCH] - added argument to a hook to avoid the fatal error in Profile Tabs --- includes/core/um-actions-profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/core/um-actions-profile.php b/includes/core/um-actions-profile.php index 61aa7572..b5efa328 100644 --- a/includes/core/um-actions-profile.php +++ b/includes/core/um-actions-profile.php @@ -536,7 +536,7 @@ function um_user_edit_profile( $args ) { * } * ?> */ - do_action( 'um_user_after_updating_profile', $to_update, $user_id ); + do_action( 'um_user_after_updating_profile', $to_update, $user_id, $args ); /** * UM hook