From 2da12b33542f7de9d9c2f218cd46df4ed95f66d5 Mon Sep 17 00:00:00 2001 From: nikitasinelnikov Date: Tue, 26 Nov 2019 12:17:25 +0200 Subject: [PATCH] - code formatting; - added version's changelog; --- includes/core/class-account.php | 3 +- languages/ultimate-member-en_US.po | 60 +++++++++++++++--------------- readme.txt | 23 +++++++++++- ultimate-member.php | 2 +- 4 files changed, 53 insertions(+), 35 deletions(-) diff --git a/includes/core/class-account.php b/includes/core/class-account.php index 9ee43eca..5c5cce9f 100644 --- a/includes/core/class-account.php +++ b/includes/core/class-account.php @@ -573,10 +573,9 @@ if ( ! class_exists( 'um\core\Account' ) ) { * @throws \Exception */ function get_tab_fields( $id, $shortcode_args ) { - UM()->fields()->set_id = $id; - $output = null; + UM()->fields()->set_id = $id; UM()->fields()->set_mode = 'account'; UM()->fields()->editing = true; diff --git a/languages/ultimate-member-en_US.po b/languages/ultimate-member-en_US.po index e84ef736..14579e82 100644 --- a/languages/ultimate-member-en_US.po +++ b/languages/ultimate-member-en_US.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: Ultimate Member\n" -"POT-Creation-Date: 2019-11-25 16:06+0200\n" -"PO-Revision-Date: 2019-11-25 16:06+0200\n" +"POT-Creation-Date: 2019-11-26 12:16+0200\n" +"PO-Revision-Date: 2019-11-26 12:16+0200\n" "Last-Translator: \n" "Language-Team: \n" "Language: en_US\n" @@ -103,7 +103,7 @@ msgstr "" #: includes/admin/core/class-admin-builder.php:765 #: includes/admin/core/class-admin-dragdrop.php:33 #: includes/admin/core/class-admin-menu.php:106 -#: includes/core/class-fields.php:4387 +#: includes/core/class-fields.php:4385 msgid "Please login as administrator" msgstr "" @@ -325,26 +325,26 @@ msgstr "" msgid "No Icon" msgstr "" -#: includes/admin/core/class-admin-forms.php:897 -#: includes/admin/core/class-admin-forms.php:911 -#: includes/admin/core/class-admin-forms.php:1034 -#: includes/admin/core/class-admin-forms.php:1043 -#: includes/admin/core/class-admin-forms.php:1278 -#: includes/admin/core/class-admin-forms.php:1292 +#: includes/admin/core/class-admin-forms.php:908 +#: includes/admin/core/class-admin-forms.php:927 +#: includes/admin/core/class-admin-forms.php:1050 +#: includes/admin/core/class-admin-forms.php:1059 +#: includes/admin/core/class-admin-forms.php:1294 +#: includes/admin/core/class-admin-forms.php:1308 #: includes/admin/core/class-admin-notices.php:398 #: includes/core/um-actions-profile.php:670 msgid "Remove" msgstr "" -#: includes/admin/core/class-admin-forms.php:1090 +#: includes/admin/core/class-admin-forms.php:1106 msgid "Select media" msgstr "" -#: includes/admin/core/class-admin-forms.php:1113 +#: includes/admin/core/class-admin-forms.php:1129 msgid "Select" msgstr "" -#: includes/admin/core/class-admin-forms.php:1114 +#: includes/admin/core/class-admin-forms.php:1130 msgid "Clear" msgstr "" @@ -3730,24 +3730,24 @@ msgid "Choose field(s) to display in tagline" msgstr "" #: includes/admin/templates/directory/profile.php:48 -#: includes/admin/templates/directory/profile.php:63 +#: includes/admin/templates/directory/profile.php:64 #: includes/admin/templates/directory/search.php:93 msgid "Add New Custom Field" msgstr "" -#: includes/admin/templates/directory/profile.php:55 +#: includes/admin/templates/directory/profile.php:56 msgid "Show extra user information below tagline?" msgstr "" -#: includes/admin/templates/directory/profile.php:61 +#: includes/admin/templates/directory/profile.php:62 msgid "Choose field(s) to display in reveal section" msgstr "" -#: includes/admin/templates/directory/profile.php:71 +#: includes/admin/templates/directory/profile.php:73 msgid "Show social connect icons" msgstr "" -#: includes/admin/templates/directory/profile.php:78 +#: includes/admin/templates/directory/profile.php:80 msgid "Enable reveal section transition by default" msgstr "" @@ -3787,33 +3787,33 @@ msgstr "" msgid "Choose filter(s) meta to enable" msgstr "" -#: includes/admin/templates/directory/search.php:99 +#: includes/admin/templates/directory/search.php:100 msgid "Expand the filter bar by default" msgstr "" -#: includes/admin/templates/directory/search.php:100 +#: includes/admin/templates/directory/search.php:101 msgid "If turned on, filters bar will be visible after a page loading" msgstr "" -#: includes/admin/templates/directory/search.php:107 +#: includes/admin/templates/directory/search.php:108 msgid "Can filter bar be collapsed" msgstr "" -#: includes/admin/templates/directory/search.php:108 +#: includes/admin/templates/directory/search.php:109 msgid "If turned on, filters bar can be collapsed after a page loading" msgstr "" -#: includes/admin/templates/directory/search.php:115 +#: includes/admin/templates/directory/search.php:116 msgid "Admin filtering" msgstr "" -#: includes/admin/templates/directory/search.php:116 +#: includes/admin/templates/directory/search.php:117 msgid "" "Limit which users appear in the member directory e.g only display users from " "USA" msgstr "" -#: includes/admin/templates/directory/search.php:119 +#: includes/admin/templates/directory/search.php:120 msgid "Add New Filter" msgstr "" @@ -4576,7 +4576,7 @@ msgid "Register" msgstr "" #: includes/class-config.php:135 includes/class-config.php:789 -#: includes/core/class-member-directory.php:1995 +#: includes/core/class-member-directory.php:1992 #: includes/core/um-actions-profile.php:1255 #: includes/core/um-actions-user.php:19 msgid "Logout" @@ -7030,14 +7030,14 @@ msgstr "" msgid "Save" msgstr "" -#: includes/core/class-fields.php:4120 +#: includes/core/class-fields.php:4118 #, php-format msgid "" "Your profile is looking a little empty. Why not add some " "information!" msgstr "" -#: includes/core/class-fields.php:4122 +#: includes/core/class-fields.php:4120 msgid "This user has not added any information to their profile yet." msgstr "" @@ -7135,14 +7135,14 @@ msgstr "" msgid "Age: {min_range} - {max_range} years old" msgstr "" -#: includes/core/class-member-directory.php:1940 -#: includes/core/class-member-directory.php:1984 +#: includes/core/class-member-directory.php:1937 +#: includes/core/class-member-directory.php:1981 #: includes/core/um-actions-profile.php:1222 #: includes/core/um-actions-profile.php:1253 msgid "Edit Profile" msgstr "" -#: includes/core/class-member-directory.php:1990 +#: includes/core/class-member-directory.php:1987 #: includes/core/um-actions-profile.php:1254 msgid "My Account" msgstr "" diff --git a/readme.txt b/readme.txt index d0a375b5..3507c85c 100644 --- a/readme.txt +++ b/readme.txt @@ -7,7 +7,7 @@ Tags: community, member, membership, user-profile, user-registration Requires PHP: 5.6 Requires at least: 5.0 Tested up to: 5.3 -Stable tag: 2.1.1 +Stable tag: 2.1.2 License: GNU Version 2 or Any Later Version License URI: http://www.gnu.org/licenses/gpl-3.0.txt @@ -144,12 +144,31 @@ The plugin works with popular caching plugins by automatically excluding Ultimat * To learn more about version 2.1 please see this [topic](https://wordpress.org/support/topic/version-2-1-4/) * UM2.1+ is a significant update to the Member Directories' code base from 2.0.x. Please make sure you take a full-site backup with restore point before updating the plugin -= 2.1.2: November 25, 2019 = += 2.1.2: November 27, 2019 = * Enhancements: + - Added text-type filters + - Added sorting for filters, tagline and reveal section fields + - Added universal hook for field's wrapper and improve rendering the field wrapper attributes + - Added returning only existed values for select-type filters + - Added checking privacy for custom fields in filters and general search, exclude private fields + - Added Form fields validation for E-mail( not unique ) + * Bugfixes: + - Fixed fields privacy, editable and visibility attributes + - Fixed member directory styles + - Fixed random sorting + - Fixed conflict with 'php_data' variable in admin JS + - Fixed datepicker/timepicker filtering in the member directories + - Fixed initialization of datepicker, timepicker, slider filters when the "Show results only after search/filtration" option is active + - Fixed callback select-type filters handlers on member directories filters bar + - Fixed cover photo thumbnail sizes in member directory + - Fixed Role filter + - Fixed clearing filters with || condition + - Fixed endless recursion in the function um_check_conditions_on_submit() + - Fixed issue that appears if we try to update several plugins at once = 2.1.1: November 12, 2019 = diff --git a/ultimate-member.php b/ultimate-member.php index 306f8758..ef0cc691 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.1.2-beta1 +Version: 2.1.2-rc.1 Author: Ultimate Member Author URI: http://ultimatemember.com/ Text Domain: ultimate-member