Version Description
Download this release
Release Info
Developer | ultimatemember |
Plugin | Ultimate Member – User Profile & Membership Plugin |
Version | 1.3.22 |
Comparing to | |
See all releases |
Code changes from version 1.3.21 to 1.3.22
- core/um-permalinks.php +2 -0
- core/um-short-functions.php +5 -1
- index.php +1 -1
- readme.txt +5 -1
core/um-permalinks.php
CHANGED
@@ -79,6 +79,8 @@ class UM_Permalinks {
|
|
79 |
$redirect = ( um_user('url_email_activate') ) ? um_user('url_email_activate') : um_get_core_page('login', 'account_active');
|
80 |
|
81 |
um_reset_user();
|
|
|
|
|
82 |
|
83 |
exit( wp_redirect( $redirect ) );
|
84 |
|
79 |
$redirect = ( um_user('url_email_activate') ) ? um_user('url_email_activate') : um_get_core_page('login', 'account_active');
|
80 |
|
81 |
um_reset_user();
|
82 |
+
|
83 |
+
do_action('um_after_email_confirmation', $user_id );
|
84 |
|
85 |
exit( wp_redirect( $redirect ) );
|
86 |
|
core/um-short-functions.php
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
<?php
|
2 |
|
|
|
|
|
|
|
|
|
3 |
function UM_Mail( $user_id_or_email = 1, $subject_line = 'Email Subject', $template, $path = null, $args = array() ) {
|
4 |
|
5 |
if ( absint( $user_id_or_email ) ) {
|
@@ -22,7 +26,7 @@
|
|
22 |
|
23 |
if ( um_get_option('email_html') ) {
|
24 |
$message = file_get_contents( $path_to_email );
|
25 |
-
add_filter( 'wp_mail_content_type',
|
26 |
} else {
|
27 |
$message = ( um_get_option('email-' . $template ) ) ? um_get_option('email-' . $template ) : 'Untitled';
|
28 |
}
|
1 |
<?php
|
2 |
|
3 |
+
function um_mail_content_type( $content_type ) {
|
4 |
+
return 'text/html';
|
5 |
+
}
|
6 |
+
|
7 |
function UM_Mail( $user_id_or_email = 1, $subject_line = 'Email Subject', $template, $path = null, $args = array() ) {
|
8 |
|
9 |
if ( absint( $user_id_or_email ) ) {
|
26 |
|
27 |
if ( um_get_option('email_html') ) {
|
28 |
$message = file_get_contents( $path_to_email );
|
29 |
+
add_filter( 'wp_mail_content_type', 'um_mail_content_type' );
|
30 |
} else {
|
31 |
$message = ( um_get_option('email-' . $template ) ) ? um_get_option('email-' . $template ) : 'Untitled';
|
32 |
}
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Ultimate Member
|
4 |
Plugin URI: http://ultimatemember.com/
|
5 |
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
|
6 |
-
Version: 1.3.
|
7 |
Author: Ultimate Member
|
8 |
Author URI: http://ultimatemember.com/
|
9 |
*/
|
3 |
Plugin Name: Ultimate Member
|
4 |
Plugin URI: http://ultimatemember.com/
|
5 |
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
|
6 |
+
Version: 1.3.22
|
7 |
Author: Ultimate Member
|
8 |
Author URI: http://ultimatemember.com/
|
9 |
*/
|
readme.txt
CHANGED
@@ -7,7 +7,7 @@ Tags: access control, author, authors, author profile, comments, community, comm
|
|
7 |
Requires at least: 4.1
|
8 |
Tested up to: 4.3
|
9 |
|
10 |
-
Stable Tag: 1.3.
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
@@ -152,6 +152,10 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
|
152 |
|
153 |
== Changelog ==
|
154 |
|
|
|
|
|
|
|
|
|
155 |
= 1.3.21: September 2, 2015 =
|
156 |
|
157 |
* Tweak: added security by sanitizing file/image uploads
|
7 |
Requires at least: 4.1
|
8 |
Tested up to: 4.3
|
9 |
|
10 |
+
Stable Tag: 1.3.22
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
152 |
|
153 |
== Changelog ==
|
154 |
|
155 |
+
= 1.3.22: September 2, 2015 =
|
156 |
+
|
157 |
+
* Fixed: compatibility bug with older PHP versions
|
158 |
+
|
159 |
= 1.3.21: September 2, 2015 =
|
160 |
|
161 |
* Tweak: added security by sanitizing file/image uploads
|