Added Login Checks

This commit is contained in:
ultimatemember
2014-12-30 20:18:29 +02:00
parent 6fd6b9657b
commit ed90ef5b95
17 changed files with 288 additions and 90 deletions
+15 -1
View File
@@ -21,7 +21,7 @@ class UM_User {
$this->preview = false;
// needs to be updated by wp_update_user()
// a list of keys that should be done on wp_update_user
$this->update_user_keys = array(
'user_email',
'user_pass',
@@ -406,6 +406,20 @@ class UM_User {
return false;
}
/***
*** @update files
***/
function update_files( $array ) {
global $ultimatemember;
foreach( $array as $key => $uri ) {
$src = um_is_temp_upload( $uri );
$ultimatemember->files->new_user_upload( $this->id, $src, $key );
}
}
/***
*** @update profile
***/