diff --git a/core/um-files.php b/core/um-files.php index f1e14e07..0c9b5bf4 100644 --- a/core/um-files.php +++ b/core/um-files.php @@ -468,6 +468,9 @@ class UM_Files { } } + + // removes a synced profile photo + delete_user_meta( $user_id, 'synced_profile_photo' ); } diff --git a/core/um-filters-fields.php b/core/um-filters-fields.php index f6363910..1ff91438 100644 --- a/core/um-filters-fields.php +++ b/core/um-filters-fields.php @@ -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; diff --git a/core/um-password.php b/core/um-password.php index f3b9fcf9..ce21c1c1 100644 --- a/core/um-password.php +++ b/core/um-password.php @@ -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'] ); diff --git a/index.php b/index.php index 9ea0cb2e..f432ab4b 100644 --- a/index.php +++ b/index.php @@ -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/ */ diff --git a/readme.txt b/readme.txt index 06eae911..bba7214e 100644 --- a/readme.txt +++ b/readme.txt @@ -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