wpForo Forum - Version 1.7.7

Version Description

Download this release

Release Info

Developer Tomdever
Plugin Icon 128x128 wpForo Forum
Version 1.7.7
Comparing to
See all releases

Code changes from version 1.7.6 to 1.7.7

Files changed (3) hide show
  1. readme.txt +6 -3
  2. wpf-includes/class-members.php +1 -2
  3. wpforo.php +2 -2
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: gVectors Team
3
  Tags: forum, forums, forum plugin, WordPress forum plugin, community, discussion
4
  Requires at least: 4.1
5
  Tested up to: 5.4
6
- Stable tag: 1.7.6
7
  Requires PHP: 5.6 and higher
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -165,12 +165,15 @@ Find wpForo forum plugin addons on [gVectors Team website...](https://gvectors.c
165
 
166
  == Changelog ==
167
 
168
- = wpForo Forum 1.7.5 / 1.7.6 | 30.05.2020 =
169
 
170
- [wpForo Forum v1.7.5 / 1.7.6 Release Summary](https://wpforo.com/community/wpforo-announcements/wpforo-1-7-5-is-released/)
171
 
172
  With this version of wpForo, we've improved the [wpForo - User Custom Fields](https://gvectors.com/product/wpforo-user-custom-fields/) addon. Besides the ability to create custom fields for users, now this addon allows you to create Custom Profile Tabs. This is a major change in the addon which required wpForo core update as well.
173
 
 
 
 
174
  * wpForo Forum v1.7.6
175
  * Fixed Bug: Warning: Illegal offset type in class-members.php on line 2641
176
  * Fixed Bug: Other small bugs
3
  Tags: forum, forums, forum plugin, WordPress forum plugin, community, discussion
4
  Requires at least: 4.1
5
  Tested up to: 5.4
6
+ Stable tag: 1.7.7
7
  Requires PHP: 5.6 and higher
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
165
 
166
  == Changelog ==
167
 
168
+ = wpForo Forum 1.7.5 / 1.7.6 / 1.7.7 | 31.05.2020 =
169
 
170
+ [wpForo Forum v1.7.5 / 1.7.6 / 1.7.7 Release Summary](https://wpforo.com/community/wpforo-announcements/wpforo-1-7-5-is-released/)
171
 
172
  With this version of wpForo, we've improved the [wpForo - User Custom Fields](https://gvectors.com/product/wpforo-user-custom-fields/) addon. Besides the ability to create custom fields for users, now this addon allows you to create Custom Profile Tabs. This is a major change in the addon which required wpForo core update as well.
173
 
174
+ * wpForo Forum v1.7.7
175
+ * Fixed Bug: Remove Secondary Usergroup field from users account. Display it only for administrators.
176
+ * -----------
177
  * wpForo Forum v1.7.6
178
  * Fixed Bug: Warning: Illegal offset type in class-members.php on line 2641
179
  * Fixed Bug: Other small bugs
wpf-includes/class-members.php CHANGED
@@ -2699,7 +2699,7 @@ class wpForoMember{
2699
  if( is_array($cols) ){
2700
  foreach( $cols as $kf => $field ){
2701
  $field_key = $this->get_field_key($field);
2702
- if( $field === 'user_pass' ){
2703
  if($need_password){
2704
  $has_password = true;
2705
  $fs[$kr][$kc][$field_key] = $this->get_field($field);
@@ -2740,7 +2740,6 @@ class wpForoMember{
2740
  'user_email',
2741
  'title',
2742
  'groupid',
2743
- 'secondary_groups',
2744
  'avatar',
2745
  'about',
2746
  'site',
2699
  if( is_array($cols) ){
2700
  foreach( $cols as $kf => $field ){
2701
  $field_key = $this->get_field_key($field);
2702
+ if( $field_key === 'user_pass' ){
2703
  if($need_password){
2704
  $has_password = true;
2705
  $fs[$kr][$kc][$field_key] = $this->get_field($field);
2740
  'user_email',
2741
  'title',
2742
  'groupid',
 
2743
  'avatar',
2744
  'about',
2745
  'site',
wpforo.php CHANGED
@@ -5,14 +5,14 @@
5
  * Description: WordPress Forum plugin. wpForo is a full-fledged forum solution for your community. Comes with multiple modern forum layouts.
6
  * Author: gVectors Team
7
  * Author URI: https://gvectors.com/
8
- * Version: 1.7.6
9
  * Text Domain: wpforo
10
  * Domain Path: /wpf-languages
11
  */
12
 
13
  //Exit if accessed directly
14
  if( !defined( 'ABSPATH' ) ) exit;
15
- if( !defined( 'WPFORO_VERSION' ) ) define('WPFORO_VERSION', '1.7.6');
16
 
17
  function wpforo_load_plugin_textdomain() { load_plugin_textdomain( 'wpforo', FALSE, basename( dirname( __FILE__ ) ) . '/wpf-languages/' ); }
18
  add_action( 'plugins_loaded', 'wpforo_load_plugin_textdomain' );
5
  * Description: WordPress Forum plugin. wpForo is a full-fledged forum solution for your community. Comes with multiple modern forum layouts.
6
  * Author: gVectors Team
7
  * Author URI: https://gvectors.com/
8
+ * Version: 1.7.7
9
  * Text Domain: wpforo
10
  * Domain Path: /wpf-languages
11
  */
12
 
13
  //Exit if accessed directly
14
  if( !defined( 'ABSPATH' ) ) exit;
15
+ if( !defined( 'WPFORO_VERSION' ) ) define('WPFORO_VERSION', '1.7.7');
16
 
17
  function wpforo_load_plugin_textdomain() { load_plugin_textdomain( 'wpforo', FALSE, basename( dirname( __FILE__ ) ) . '/wpf-languages/' ); }
18
  add_action( 'plugins_loaded', 'wpforo_load_plugin_textdomain' );