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'] );
+1 -1
View File
@@ -3,7 +3,7 @@
Plugin Name: Ultimate Member
Plugin URI: http://ultimatemember.com/
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
Version: 1.0.70
Version: 1.0.71
Author: Ultimate Member
Author URI: http://ultimatemember.com/
*/
+6 -1
View File
@@ -7,7 +7,7 @@ Tags: access control, author, authors, author profile, comments, community, comm
Requires at least: 4.1
Tested up to: 4.1.1
Stable Tag: 1.0.70
Stable Tag: 1.0.71
License: GNU Version 2 or Any Later Version
@@ -189,6 +189,11 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
== Changelog ==
= 1.0.71: March 2, 2015 =
* Fixed: issue with password reset link
* Fixed: issue with social links showing but user did not fill them
= 1.0.70: March 2, 2015 =
* Tweak: added a filter hook to control profile photo url