Version Description
Download this release
Release Info
Developer | ultimatemember |
Plugin | Ultimate Member – User Profile & Membership Plugin |
Version | 1.3.17 |
Comparing to | |
See all releases |
Code changes from version 1.3.16 to 1.3.17
- core/um-account.php +1 -0
- core/um-fields.php +5 -1
- core/um-short-functions.php +2 -1
- index.php +1 -1
- readme.txt +7 -1
- um-init.php +1 -0
core/um-account.php
CHANGED
@@ -153,6 +153,7 @@ class UM_Account {
|
|
153 |
case 'privacy':
|
154 |
|
155 |
$args = 'profile_privacy,hide_in_members';
|
|
|
156 |
|
157 |
$fields = $ultimatemember->builtin->get_specific_fields( $args );
|
158 |
foreach( $fields as $key => $data ){
|
153 |
case 'privacy':
|
154 |
|
155 |
$args = 'profile_privacy,hide_in_members';
|
156 |
+
$args = apply_filters('um_account_tab_privacy_fields', $args );
|
157 |
|
158 |
$fields = $ultimatemember->builtin->get_specific_fields( $args );
|
159 |
foreach( $fields as $key => $data ){
|
core/um-fields.php
CHANGED
@@ -1478,7 +1478,7 @@ class UM_Fields {
|
|
1478 |
|
1479 |
// add an empty option!
|
1480 |
$output .= '<option value=""></option>';
|
1481 |
-
|
1482 |
// add options
|
1483 |
foreach($options as $k => $v) {
|
1484 |
|
@@ -1490,6 +1490,10 @@ class UM_Fields {
|
|
1490 |
$option_value = $v;
|
1491 |
}
|
1492 |
|
|
|
|
|
|
|
|
|
1493 |
$output .= '<option value="'.$option_value.'" ';
|
1494 |
if ( $this->is_selected($form_key, $option_value, $data) ) {
|
1495 |
$output.= 'selected';
|
1478 |
|
1479 |
// add an empty option!
|
1480 |
$output .= '<option value=""></option>';
|
1481 |
+
|
1482 |
// add options
|
1483 |
foreach($options as $k => $v) {
|
1484 |
|
1490 |
$option_value = $v;
|
1491 |
}
|
1492 |
|
1493 |
+
if ( isset( $options_pair ) ) {
|
1494 |
+
$option_value = $k;
|
1495 |
+
}
|
1496 |
+
|
1497 |
$output .= '<option value="'.$option_value.'" ';
|
1498 |
if ( $this->is_selected($form_key, $option_value, $data) ) {
|
1499 |
$output.= 'selected';
|
core/um-short-functions.php
CHANGED
@@ -409,8 +409,9 @@ function um_profile_id() {
|
|
409 |
global $ultimatemember;
|
410 |
if ( isset($_REQUEST['um_search']) ) {
|
411 |
$query = $ultimatemember->permalinks->get_query_array();
|
412 |
-
if ( $query[$filter] != '' )
|
413 |
echo $query[$filter];
|
|
|
414 |
}
|
415 |
echo '';
|
416 |
}
|
409 |
global $ultimatemember;
|
410 |
if ( isset($_REQUEST['um_search']) ) {
|
411 |
$query = $ultimatemember->permalinks->get_query_array();
|
412 |
+
if ( $query[$filter] != '' ) {
|
413 |
echo $query[$filter];
|
414 |
+
}
|
415 |
}
|
416 |
echo '';
|
417 |
}
|
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.17
|
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.2.4
|
9 |
|
10 |
-
Stable Tag: 1.3.
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
@@ -81,6 +81,7 @@ Ultimate Member has been translated into the following languages:
|
|
81 |
* Italian - Italiano
|
82 |
* German - Deutsch
|
83 |
* Dutch - Nederlands
|
|
|
84 |
* Finnish - Suomi
|
85 |
* Romanian - Română
|
86 |
* Danish - Dansk
|
@@ -150,6 +151,11 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
|
150 |
|
151 |
== Changelog ==
|
152 |
|
|
|
|
|
|
|
|
|
|
|
153 |
= 1.3.16: August 11, 2015 =
|
154 |
|
155 |
* New: added option to restrict categories in addition to per post content restriction
|
7 |
Requires at least: 4.1
|
8 |
Tested up to: 4.2.4
|
9 |
|
10 |
+
Stable Tag: 1.3.17
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
81 |
* Italian - Italiano
|
82 |
* German - Deutsch
|
83 |
* Dutch - Nederlands
|
84 |
+
* Brazilian Portuguese - Português do Brasil
|
85 |
* Finnish - Suomi
|
86 |
* Romanian - Română
|
87 |
* Danish - Dansk
|
151 |
|
152 |
== Changelog ==
|
153 |
|
154 |
+
= 1.3.17: August 13, 2015 =
|
155 |
+
|
156 |
+
* New: added Brazilian Portuguese language support
|
157 |
+
* Tweak: added support for upcoming social activity extension
|
158 |
+
|
159 |
= 1.3.16: August 11, 2015 =
|
160 |
|
161 |
* New: added option to restrict categories in addition to per post content restriction
|
um-init.php
CHANGED
@@ -24,6 +24,7 @@ class UM_API {
|
|
24 |
'it_IT' => 'Italiano',
|
25 |
'de_DE' => 'Deutsch',
|
26 |
'nl_NL' => 'Nederlands',
|
|
|
27 |
'fi_FI' => 'Suomi',
|
28 |
'ro_RO' => 'Română',
|
29 |
'da_DK' => 'Dansk',
|
24 |
'it_IT' => 'Italiano',
|
25 |
'de_DE' => 'Deutsch',
|
26 |
'nl_NL' => 'Nederlands',
|
27 |
+
'pt_BR' => 'Português do Brasil',
|
28 |
'fi_FI' => 'Suomi',
|
29 |
'ro_RO' => 'Română',
|
30 |
'da_DK' => 'Dansk',
|