Version Description
Download this release
Release Info
Developer | adispiac |
Plugin | User registration & user profile – Profile Builder |
Version | 2.4.2 |
Comparing to | |
See all releases |
Code changes from version 2.4.1 to 2.4.2
- features/class-list-table.php +1 -1
- features/email-confirmation/class-email-confirmation.php +1 -1
- front-end/class-formbuilder.php +3 -3
- index.php +2 -2
- readme.txt +1 -1
features/class-list-table.php
CHANGED
@@ -412,7 +412,7 @@ class PB_WP_List_Table {
|
|
412 |
selected( $m, $year . $month, false ),
|
413 |
esc_attr( $arc_row->year . $month ),
|
414 |
/* translators: 1: month name, 2: 4-digit year */
|
415 |
-
sprintf( __( '%1$s %2$d' ), $wp_locale->get_month( $month ), $year )
|
416 |
);
|
417 |
}
|
418 |
?>
|
412 |
selected( $m, $year . $month, false ),
|
413 |
esc_attr( $arc_row->year . $month ),
|
414 |
/* translators: 1: month name, 2: 4-digit year */
|
415 |
+
sprintf( __( '%1$s %2$d' ), esc_attr( $wp_locale->get_month( $month ) ), esc_attr( $year ) )
|
416 |
);
|
417 |
}
|
418 |
?>
|
features/email-confirmation/class-email-confirmation.php
CHANGED
@@ -468,7 +468,7 @@ function wppb_unconfirmed_email_address_custom_menu_page(){
|
|
468 |
<!-- Forms are NOT created automatically, so you need to wrap the table in one to use features like bulk actions -->
|
469 |
<form id="movies-filter" method="get">
|
470 |
<!-- For plugins, we also need to ensure that the form posts back to our current page -->
|
471 |
-
<input type="hidden" name="page" value="<?php echo $_REQUEST['page'] ?>" />
|
472 |
<!-- Now we can render the completed list table -->
|
473 |
<?php $listTable->display() ?>
|
474 |
</form>
|
468 |
<!-- Forms are NOT created automatically, so you need to wrap the table in one to use features like bulk actions -->
|
469 |
<form id="movies-filter" method="get">
|
470 |
<!-- For plugins, we also need to ensure that the form posts back to our current page -->
|
471 |
+
<input type="hidden" name="page" value="<?php echo esc_attr( $_REQUEST['page'] ); ?>" />
|
472 |
<!-- Now we can render the completed list table -->
|
473 |
<?php $listTable->display() ?>
|
474 |
</form>
|
front-end/class-formbuilder.php
CHANGED
@@ -80,8 +80,8 @@ class Profile_Builder_Form_Creator{
|
|
80 |
|
81 |
function wppb_retrieve_custom_settings(){
|
82 |
$this->args['login_after_register'] = apply_filters( 'wppb_automatically_login_after_register', 'No' ); //used only for the register-form settings
|
83 |
-
$this->args['redirect_activated'] = apply_filters( 'wppb_redirect_default_setting', '' );
|
84 |
-
$this->args['redirect_url'] = apply_filters( 'wppb_redirect_default_location', ($this->args['redirect_url'] != '') ? $this->args['redirect_url'] :
|
85 |
/* for register forms check to see if we have a custom redirect "Redirect After Register" */
|
86 |
if( PROFILE_BUILDER == 'Profile Builder Pro' ) {
|
87 |
if( ( $this->args['form_type'] == 'register' || $this->args['form_type'] == 'edit_profile' ) && ( ! current_user_can( 'manage_options' ) ) ) {
|
@@ -626,7 +626,7 @@ class Profile_Builder_Form_Creator{
|
|
626 |
<?php
|
627 |
foreach( $users as $user ){
|
628 |
?>
|
629 |
-
<option value="<?php echo $user->ID ?>" <?php selected( $selected, $user->ID ); ?>><?php echo $user->display_name ?></option>
|
630 |
<?php
|
631 |
}
|
632 |
?>
|
80 |
|
81 |
function wppb_retrieve_custom_settings(){
|
82 |
$this->args['login_after_register'] = apply_filters( 'wppb_automatically_login_after_register', 'No' ); //used only for the register-form settings
|
83 |
+
$this->args['redirect_activated'] = apply_filters( 'wppb_redirect_default_setting', '-' );
|
84 |
+
$this->args['redirect_url'] = apply_filters( 'wppb_redirect_default_location', ($this->args['redirect_url'] != '') ? $this->args['redirect_url'] : wppb_curpageurl() );
|
85 |
/* for register forms check to see if we have a custom redirect "Redirect After Register" */
|
86 |
if( PROFILE_BUILDER == 'Profile Builder Pro' ) {
|
87 |
if( ( $this->args['form_type'] == 'register' || $this->args['form_type'] == 'edit_profile' ) && ( ! current_user_can( 'manage_options' ) ) ) {
|
626 |
<?php
|
627 |
foreach( $users as $user ){
|
628 |
?>
|
629 |
+
<option value="<?php echo $user->ID; ?>" <?php selected( $selected, $user->ID ); ?>><?php echo $user->display_name; ?></option>
|
630 |
<?php
|
631 |
}
|
632 |
?>
|
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.4.
|
7 |
Author: Cozmoslabs, Madalin Ungureanu, Antohe Cristian, Barina Gabriel, Mihai Iova
|
8 |
Author URI: https://www.cozmoslabs.com/
|
9 |
License: GPL2
|
@@ -73,7 +73,7 @@ function wppb_free_plugin_init() {
|
|
73 |
*
|
74 |
*
|
75 |
*/
|
76 |
-
define('PROFILE_BUILDER_VERSION', '2.4.
|
77 |
define('WPPB_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
78 |
define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__));
|
79 |
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.4.2
|
7 |
Author: Cozmoslabs, Madalin Ungureanu, Antohe Cristian, Barina Gabriel, Mihai Iova
|
8 |
Author URI: https://www.cozmoslabs.com/
|
9 |
License: GPL2
|
73 |
*
|
74 |
*
|
75 |
*/
|
76 |
+
define('PROFILE_BUILDER_VERSION', '2.4.2' );
|
77 |
define('WPPB_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
78 |
define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__));
|
79 |
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
@@ -5,7 +5,7 @@ Tags: user registration, user registration form, user fields, extra user fields,
|
|
5 |
|
6 |
Requires at least: 3.1
|
7 |
Tested up to: 4.5.3
|
8 |
-
Stable tag: 2.4.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
5 |
|
6 |
Requires at least: 3.1
|
7 |
Tested up to: 4.5.3
|
8 |
+
Stable tag: 2.4.2
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|