User registration & user profile – Profile Builder - Version 2.7.8

Version Description

  • Fixed issue with reCaptcha not appearing any more in some cases
  • Fixed a notice introduced in the last update
Download this release

Release Info

Developer madalin.ungureanu
Plugin Icon 128x128 User registration & user profile – Profile Builder
Version 2.7.8
Comparing to
See all releases

Code changes from version 2.7.7 to 2.7.8

features/functions.php CHANGED
@@ -269,7 +269,7 @@ function wppb_print_cpt_script( $hook ){
269
  ( $hook == 'profile-builder_page_user-email-customizer') ||
270
  ( $hook == 'profile-builder_page_profile-builder-content_restriction' ) ||
271
  ( strpos( $hook, 'profile-builder_page_' ) === 0 ) ||
272
- ( $hook == 'edit.php' && $_GET['post_type'] == 'wppb-roles-editor' ) ||
273
  ( $hook == 'admin_page_profile-builder-pms-promo') ) {
274
  wp_enqueue_style( 'wppb-back-end-style', WPPB_PLUGIN_URL . 'assets/css/style-back-end.css', false, PROFILE_BUILDER_VERSION );
275
  }
269
  ( $hook == 'profile-builder_page_user-email-customizer') ||
270
  ( $hook == 'profile-builder_page_profile-builder-content_restriction' ) ||
271
  ( strpos( $hook, 'profile-builder_page_' ) === 0 ) ||
272
+ ( $hook == 'edit.php' && ( isset( $_GET['post_type'] ) && $_GET['post_type'] == 'wppb-roles-editor' ) ) ||
273
  ( $hook == 'admin_page_profile-builder-pms-promo') ) {
274
  wp_enqueue_style( 'wppb-back-end-style', WPPB_PLUGIN_URL . 'assets/css/style-back-end.css', false, PROFILE_BUILDER_VERSION );
275
  }
front-end/default-fields/recaptcha/recaptcha.php CHANGED
@@ -83,7 +83,7 @@ function wppb_recaptcha_script_footer(){
83
 
84
  // Check if we have a reCAPTCHA type
85
  if ( !isset($field['recaptcha-type']) )
86
- return ;
87
 
88
  /*for invisible recaptcha we have extra parameters and the selector is different. v2 is initialized on the id of the div
89
  that must be unique and invisible is on the submit button of the forms that have the div */
83
 
84
  // Check if we have a reCAPTCHA type
85
  if ( !isset($field['recaptcha-type']) )
86
+ $field['recaptcha-type'] = 'v2' ;
87
 
88
  /*for invisible recaptcha we have extra parameters and the selector is different. v2 is initialized on the id of the div
89
  that must be unique and invisible is on the submit button of the forms that have the div */
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Profile Builder
4
  Plugin URI: https://www.cozmoslabs.com/wordpress-profile-builder/
5
  Description: Login, registration and edit profile shortcodes for the front-end. Also you can chose what fields should be displayed or add new (custom) ones both in the front-end and in the dashboard.
6
- Version: 2.7.7
7
  Author: Cozmoslabs, Madalin Ungureanu, Antohe Cristian, Barina Gabriel, Mihai Iova
8
  Author URI: https://www.cozmoslabs.com/
9
  Text Domain: profile-builder
@@ -75,7 +75,7 @@ function wppb_free_plugin_init() {
75
  *
76
  *
77
  */
78
- define('PROFILE_BUILDER_VERSION', '2.7.7' );
79
  define('WPPB_PLUGIN_DIR', plugin_dir_path(__FILE__));
80
  define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__));
81
  define('WPPB_SERVER_MAX_UPLOAD_SIZE_BYTE', apply_filters('wppb_server_max_upload_size_byte_constant', wppb_return_bytes(ini_get('upload_max_filesize'))));
3
  Plugin Name: Profile Builder
4
  Plugin URI: https://www.cozmoslabs.com/wordpress-profile-builder/
5
  Description: Login, registration and edit profile shortcodes for the front-end. Also you can chose what fields should be displayed or add new (custom) ones both in the front-end and in the dashboard.
6
+ Version: 2.7.8
7
  Author: Cozmoslabs, Madalin Ungureanu, Antohe Cristian, Barina Gabriel, Mihai Iova
8
  Author URI: https://www.cozmoslabs.com/
9
  Text Domain: profile-builder
75
  *
76
  *
77
  */
78
+ define('PROFILE_BUILDER_VERSION', '2.7.8' );
79
  define('WPPB_PLUGIN_DIR', plugin_dir_path(__FILE__));
80
  define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__));
81
  define('WPPB_SERVER_MAX_UPLOAD_SIZE_BYTE', apply_filters('wppb_server_max_upload_size_byte_constant', wppb_return_bytes(ini_get('upload_max_filesize'))));
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.cozmoslabs.com/wordpress-profile-builder/
4
  Tags: user registration, user profile, user registration form, user fields, extra user fields, edit profile, user custom fields, front-end login, front-end edit profile, front-end user registration, email confirmation, login form, content restriction, restrict content
5
  Requires at least: 3.1
6
  Tested up to: 4.9.4
7
- Stable tag: 2.7.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -163,6 +163,10 @@ This plugin adds/removes user fields in the front-end. Both default and extra pr
163
  12. Role Editor
164
 
165
  == Changelog ==
 
 
 
 
166
  = 2.7.7 =
167
  * Added Invisible reCAPTCHA support for both PB forms as well as default WordPress forms
168
  * Small CSS modification in role editor
4
  Tags: user registration, user profile, user registration form, user fields, extra user fields, edit profile, user custom fields, front-end login, front-end edit profile, front-end user registration, email confirmation, login form, content restriction, restrict content
5
  Requires at least: 3.1
6
  Tested up to: 4.9.4
7
+ Stable tag: 2.7.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
163
  12. Role Editor
164
 
165
  == Changelog ==
166
+ = 2.7.8 =
167
+ * Fixed issue with reCaptcha not appearing any more in some cases
168
+ * Fixed a notice introduced in the last update
169
+
170
  = 2.7.7 =
171
  * Added Invisible reCAPTCHA support for both PB forms as well as default WordPress forms
172
  * Small CSS modification in role editor