Update 1.0.71

This commit is contained in:
ultimatemember
2015-03-02 21:03:37 +02:00
parent 832db67584
commit 6ff2da7672
5 changed files with 13 additions and 3 deletions
+3
View File
@@ -468,6 +468,9 @@ class UM_Files {
}
}
// removes a synced profile photo
delete_user_meta( $user_id, 'synced_profile_photo' );
}
+2
View File
@@ -128,6 +128,8 @@
***/
add_filter('um_profile_field_filter_hook__', 'um_profile_field_filter_hook__', 99, 2);
function um_profile_field_filter_hook__( $value, $data ) {
if ( !$value ) return '';
if ( isset( $data['validate'] ) && $data['validate'] != '' && strstr( $data['validate'], 'url' ) ) {
$alt = ( isset( $data['url_text'] ) && !empty( $data['url_text'] ) ) ? $data['url_text'] : $value;
+1 -1
View File
@@ -21,7 +21,7 @@ class UM_Password {
global $ultimatemember;
if ( isset($_REQUEST['act']) && $_REQUEST['act'] == 'reset_password' && isset($_REQUEST['hash']) && strlen($_REQUEST['hash']) == 30 &&
if ( isset($_REQUEST['act']) && $_REQUEST['act'] == 'reset_password' && isset($_REQUEST['hash']) && strlen($_REQUEST['hash']) == 40 &&
isset($_REQUEST['user_id']) && is_numeric($_REQUEST['user_id']) ) {
um_fetch_user( $_REQUEST['user_id'] );