From 002066728f0b3d4d82ccd6c77740b516380e7d21 Mon Sep 17 00:00:00 2001 From: nikitozzzzzzz Date: Tue, 28 Aug 2018 13:03:36 +0300 Subject: [PATCH] - fixed registration submittion placeholders; --- includes/um-short-functions.php | 2 +- readme.txt | 6 ++++++ ultimate-member.php | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/includes/um-short-functions.php b/includes/um-short-functions.php index 6c299d94..9a1f7de8 100644 --- a/includes/um-short-functions.php +++ b/includes/um-short-functions.php @@ -553,7 +553,7 @@ function um_user_submitted_registration( $style = false ) { continue; } - if ( ! is_array( $v ) && strstr( $v, 'ultimatemember/temp' ) ) { + if ( UM()->fields()->get_field_type( $k ) == 'image' || UM()->fields()->get_field_type( $k ) == 'file' ) { $file = basename( $v ); $v = um_user_uploads_uri() . $file; } diff --git a/readme.txt b/readme.txt index 232fecb9..c192d2ca 100644 --- a/readme.txt +++ b/readme.txt @@ -131,6 +131,12 @@ The plugin works with popular caching plugins by automatically excluding Ultimat = Important: UM2.0+ is a significant update to the code base from 1.3.88. Please make sure you take a full-site backup with restore point before updating the plugin = += 2.0.26: August 29, 2018 = + +* Bugfixes: + - File/Image email placeholders after registration form submitting + - File/Image forms fields values on submit/edit + = 2.0.25: August 20, 2018 = * Enhancements: diff --git a/ultimate-member.php b/ultimate-member.php index b1a88a2c..c9777126 100644 --- a/ultimate-member.php +++ b/ultimate-member.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: 2.0.25 +Version: 2.0.26 Author: Ultimate Member Author URI: http://ultimatemember.com/ Text Domain: ultimate-member