mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-16 21:23:39 +09:00
Issue: Profile photo upload in pop up gets stuck on 'processing'
Link: https://secure.helpscout.net/conversation/933974856/33012?folderId=1651531
This commit is contained in:
@@ -312,7 +312,7 @@ if ( ! class_exists( 'um\core\Files' ) ) {
|
||||
$id = $_POST['key'];
|
||||
$timestamp = $_POST['timestamp'];
|
||||
$nonce = $_POST['_wpnonce'];
|
||||
$user_id = $_POST['user_id'];
|
||||
$user_id = empty( $_POST['user_id'] ) ? get_current_user_id() : $_POST['user_id'];
|
||||
|
||||
UM()->fields()->set_id = $_POST['set_id'];
|
||||
UM()->fields()->set_mode = $_POST['set_mode'];
|
||||
|
||||
Reference in New Issue
Block a user