Version Description
- Fix: Sanitize form field titles and descriptions
- Misc: Improve back-end compatibility with other plugins that use Select2
- Misc: Add width and height for password visibility image
Download this release
Release Info
| Developer | raster02 |
| Plugin | |
| Version | 3.6.8 |
| Comparing to | |
| See all releases | |
Code changes from version 3.6.7 to 3.6.8
- add-ons-free/gdpr-communication-preferences/front-end/gdpr-communication-preferences.php +2 -2
- admin/advanced-settings/includes/forms/placeholder-labels.php +2 -2
- assets/js/jquery-manage-fields-live-change.js +3 -5
- assets/js/jquery-pb-sitewide.js +4 -8
- assets/js/select2-compat.js +1 -2
- features/functions.php +14 -6
- front-end/default-fields/aim/aim.php +2 -2
- front-end/default-fields/blog-details/blog-details.php +2 -2
- front-end/default-fields/description/description.php +2 -2
- front-end/default-fields/display-name/display-name.php +2 -2
- front-end/default-fields/email-confirmation/email-confirmation.php +2 -2
- front-end/default-fields/email/email.php +2 -2
- front-end/default-fields/first-name/first-name.php +2 -2
- front-end/default-fields/gdpr-delete/gdpr-delete.php +2 -2
- front-end/default-fields/gdpr/gdpr.php +2 -2
- front-end/default-fields/headings/about-yourself.php +2 -2
- front-end/default-fields/headings/contact-info.php +2 -2
- front-end/default-fields/headings/name.php +2 -2
- front-end/default-fields/jabber/jabber.php +2 -2
- front-end/default-fields/last-name/last-name.php +2 -2
- front-end/default-fields/nickname/nickname.php +2 -2
- front-end/default-fields/password-repeat/password-repeat.php +2 -2
- front-end/default-fields/password/password.php +2 -2
- front-end/default-fields/recaptcha/recaptcha.php +12 -12
- front-end/default-fields/user-role/user-role.php +2 -2
- front-end/default-fields/username/username.php +2 -2
- front-end/default-fields/website/website.php +2 -2
- front-end/default-fields/yim/yim.php +2 -2
- index.php +2 -2
- readme.txt +6 -1
- translation/profile-builder.pot +32 -32
add-ons-free/gdpr-communication-preferences/front-end/gdpr-communication-preferences.php
CHANGED
|
@@ -2,8 +2,8 @@
|
|
| 2 |
/* handle field output */
|
| 3 |
function wppb_gdprcp_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 4 |
if ( $field['field'] == 'GDPR Communication Preferences' ){
|
| 5 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_gdpr_communication_preferences_custom_field_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 6 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 7 |
|
| 8 |
$checkbox_values = explode( ',', $field['gdpr-communication-preferences'] );
|
| 9 |
$checkbox_labels = array( "email" => __('Email', 'profile-builder'), "sms" => __('SMS', 'profile-builder'), "phone" => __('Telephone', 'profile-builder'), "post" => __('Post', 'profile-builder') );
|
| 2 |
/* handle field output */
|
| 3 |
function wppb_gdprcp_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 4 |
if ( $field['field'] == 'GDPR Communication Preferences' ){
|
| 5 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_gdpr_communication_preferences_custom_field_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 6 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 7 |
|
| 8 |
$checkbox_values = explode( ',', $field['gdpr-communication-preferences'] );
|
| 9 |
$checkbox_labels = array( "email" => __('Email', 'profile-builder'), "sms" => __('SMS', 'profile-builder'), "phone" => __('Telephone', 'profile-builder'), "post" => __('Post', 'profile-builder') );
|
admin/advanced-settings/includes/forms/placeholder-labels.php
CHANGED
|
@@ -68,7 +68,7 @@ function wppb_pbpl_extra_attribute( $extra_attribute, $field, $form_location ) {
|
|
| 68 |
);
|
| 69 |
|
| 70 |
if( ! empty ( $field ) && in_array( $field['field'], $extra_attr_only_for ) ) {
|
| 71 |
-
$extra_attribute .= 'placeholder = "' . esc_attr( wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation', $field['field-title'] ) ) . ( ( $field['required'] == 'Yes' ) ? '*' : '' ) . '"';
|
| 72 |
}
|
| 73 |
|
| 74 |
return $extra_attribute;
|
|
@@ -220,7 +220,7 @@ function wppb_pbpl_extra_select_option( $option, $field, $item_title ) {
|
|
| 220 |
*
|
| 221 |
*/
|
| 222 |
function wppb_pbpl_select2_multiple_placeholder( $arguments, $form_location, $field ) {
|
| 223 |
-
$arguments['placeholder'] = esc_attr( wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation', $field['field-title'] ) ) . ( $field['required'] == 'Yes' ? '*' : '' );
|
| 224 |
|
| 225 |
return $arguments;
|
| 226 |
}
|
| 68 |
);
|
| 69 |
|
| 70 |
if( ! empty ( $field ) && in_array( $field['field'], $extra_attr_only_for ) ) {
|
| 71 |
+
$extra_attribute .= 'placeholder = "' . esc_attr( wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation', $field['field-title'], true ) ) . ( ( $field['required'] == 'Yes' ) ? '*' : '' ) . '"';
|
| 72 |
}
|
| 73 |
|
| 74 |
return $extra_attribute;
|
| 220 |
*
|
| 221 |
*/
|
| 222 |
function wppb_pbpl_select2_multiple_placeholder( $arguments, $form_location, $field ) {
|
| 223 |
+
$arguments['placeholder'] = esc_attr( wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation', $field['field-title'], true ) ) . ( $field['required'] == 'Yes' ? '*' : '' );
|
| 224 |
|
| 225 |
return $arguments;
|
| 226 |
}
|
assets/js/jquery-manage-fields-live-change.js
CHANGED
|
@@ -856,12 +856,10 @@ function wppb_initialize_live_select( container_name ){
|
|
| 856 |
function wppb_enable_select2(container_name){
|
| 857 |
// Select2 initialization on manage fields.
|
| 858 |
|
| 859 |
-
|
| 860 |
-
|
| 861 |
-
jQuery( container_name + ' #field').select2({
|
| 862 |
-
placeholder: 'Select an option',
|
| 863 |
allowClear: true
|
| 864 |
-
})
|
| 865 |
|
| 866 |
var $eventSelect = jQuery( container_name + ' #field');
|
| 867 |
$eventSelect.on("select2:open", function (e) {
|
| 856 |
function wppb_enable_select2(container_name){
|
| 857 |
// Select2 initialization on manage fields.
|
| 858 |
|
| 859 |
+
wppbSelect2.call( jQuery( container_name + ' #field'), {
|
| 860 |
+
placeholder: 'Select an23q12 option',
|
|
|
|
|
|
|
| 861 |
allowClear: true
|
| 862 |
+
});
|
| 863 |
|
| 864 |
var $eventSelect = jQuery( container_name + ' #field');
|
| 865 |
$eventSelect.on("select2:open", function (e) {
|
assets/js/jquery-pb-sitewide.js
CHANGED
|
@@ -142,10 +142,8 @@ jQuery( function() {
|
|
| 142 |
jQuery( function() {
|
| 143 |
if( jQuery( '.wppb-private-website' ).length != 0 ) {
|
| 144 |
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
jQuery('#private-website-redirect-to-login').select2();
|
| 148 |
-
jQuery('#private-website-allowed-pages').select2();
|
| 149 |
|
| 150 |
wppbDisablePrivatePageOptions(jQuery('#private-website-enable').val());
|
| 151 |
|
|
@@ -196,11 +194,9 @@ jQuery( function() {
|
|
| 196 |
jQuery( function() {
|
| 197 |
if( jQuery('body.profile-builder_page_profile-builder-toolbox-settings').length != 0 ) {
|
| 198 |
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
jQuery('#toolbox-bypass-ec').select2();
|
| 202 |
|
| 203 |
-
jQuery('#toolbox-restricted-emails')
|
| 204 |
tags: true,
|
| 205 |
width: '100%'
|
| 206 |
});
|
| 142 |
jQuery( function() {
|
| 143 |
if( jQuery( '.wppb-private-website' ).length != 0 ) {
|
| 144 |
|
| 145 |
+
wppbSelect2.call( jQuery('#private-website-redirect-to-login') );
|
| 146 |
+
wppbSelect2.call( jQuery('#private-website-allowed-pages') );
|
|
|
|
|
|
|
| 147 |
|
| 148 |
wppbDisablePrivatePageOptions(jQuery('#private-website-enable').val());
|
| 149 |
|
| 194 |
jQuery( function() {
|
| 195 |
if( jQuery('body.profile-builder_page_profile-builder-toolbox-settings').length != 0 ) {
|
| 196 |
|
| 197 |
+
wppbSelect2.call( jQuery('#toolbox-bypass-ec') );
|
|
|
|
|
|
|
| 198 |
|
| 199 |
+
wppbSelect2.call( jQuery('#toolbox-restricted-emails'), {
|
| 200 |
tags: true,
|
| 201 |
width: '100%'
|
| 202 |
});
|
assets/js/select2-compat.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
/*
|
| 2 |
* Allow for compatibility with other Select2 versions loaded by other plugins
|
| 3 |
*/
|
| 4 |
-
var wppbSelect2 = jQuery.fn.select2;
|
| 5 |
-
delete jQuery.fn.select2;
|
| 1 |
/*
|
| 2 |
* Allow for compatibility with other Select2 versions loaded by other plugins
|
| 3 |
*/
|
| 4 |
+
var wppbSelect2 = jQuery.fn.select2;
|
|
|
features/functions.php
CHANGED
|
@@ -28,12 +28,20 @@ function wppb_register_settings() {
|
|
| 28 |
|
| 29 |
|
| 30 |
// WPML support
|
| 31 |
-
function wppb_icl_t($context, $name, $value){
|
| 32 |
-
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
-
else
|
| 36 |
-
return $value;
|
| 37 |
}
|
| 38 |
|
| 39 |
function wppb_icl_register_string( $context, $name, $value ) {
|
|
@@ -883,7 +891,7 @@ function wppb_password_visibility_toggle_html(){
|
|
| 883 |
if( apply_filters( 'wppb_show_password_visibility_toggle', false ) ){
|
| 884 |
return '
|
| 885 |
<button type="button" class="wppb-toggle-pw wppb-show-pw hide-if-no-js" data-toggle="0" aria-label="Show password" tabindex="-1">
|
| 886 |
-
<img src="'.WPPB_PLUGIN_URL.'/assets/images/eye-outline.svg"/>
|
| 887 |
</button>';
|
| 888 |
}
|
| 889 |
return '';
|
| 28 |
|
| 29 |
|
| 30 |
// WPML support
|
| 31 |
+
function wppb_icl_t( $context, $name, $value, $kses = false ){
|
| 32 |
+
|
| 33 |
+
if( $kses === false ){
|
| 34 |
+
if( function_exists( 'icl_t' ) )
|
| 35 |
+
return icl_t( $context, $name, $value );
|
| 36 |
+
else
|
| 37 |
+
return $value;
|
| 38 |
+
} else {
|
| 39 |
+
if( function_exists( 'icl_t' ) )
|
| 40 |
+
return wp_kses_post( icl_t( $context, $name, $value ) );
|
| 41 |
+
else
|
| 42 |
+
return wp_kses_post( $value );
|
| 43 |
+
}
|
| 44 |
|
|
|
|
|
|
|
| 45 |
}
|
| 46 |
|
| 47 |
function wppb_icl_register_string( $context, $name, $value ) {
|
| 891 |
if( apply_filters( 'wppb_show_password_visibility_toggle', false ) ){
|
| 892 |
return '
|
| 893 |
<button type="button" class="wppb-toggle-pw wppb-show-pw hide-if-no-js" data-toggle="0" aria-label="Show password" tabindex="-1">
|
| 894 |
+
<img src="'.WPPB_PLUGIN_URL.'/assets/images/eye-outline.svg" width="20px" height="20px" />
|
| 895 |
</button>';
|
| 896 |
}
|
| 897 |
return '';
|
front-end/default-fields/aim/aim.php
CHANGED
|
@@ -3,8 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_aim_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_aim_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 7 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' )
|
| 10 |
$input_value = get_the_author_meta( 'aim', $user_id );
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_aim_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_aim_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 7 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' )
|
| 10 |
$input_value = get_the_author_meta( 'aim', $user_id );
|
front-end/default-fields/blog-details/blog-details.php
CHANGED
|
@@ -27,8 +27,8 @@ function wppb_blog_details_handler( $output, $form_location, $field, $user_id, $
|
|
| 27 |
|
| 28 |
$output = '<ul>';
|
| 29 |
|
| 30 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 31 |
-
$heading = '<li class="wppb-form-field wppb-blog-details-heading"><h4>'.wppb_icl_t('plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title']).'</h4><span class="wppb-description-delimiter">'.$item_description.'</span></li>';
|
| 32 |
$output .= apply_filters( 'wppb_blog_details_heading', $heading );
|
| 33 |
|
| 34 |
|
| 27 |
|
| 28 |
$output = '<ul>';
|
| 29 |
|
| 30 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 31 |
+
$heading = '<li class="wppb-form-field wppb-blog-details-heading"><h4>'.wppb_icl_t('plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true).'</h4><span class="wppb-description-delimiter">'.$item_description.'</span></li>';
|
| 32 |
$output .= apply_filters( 'wppb_blog_details_heading', $heading );
|
| 33 |
|
| 34 |
|
front-end/default-fields/description/description.php
CHANGED
|
@@ -3,8 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_description_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_description_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 7 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' ) {
|
| 10 |
$profileuser = get_userdata( $user_id );
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_description_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_description_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 7 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' ) {
|
| 10 |
$profileuser = get_userdata( $user_id );
|
front-end/default-fields/display-name/display-name.php
CHANGED
|
@@ -3,8 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_display_name_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_display-name_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 7 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 8 |
|
| 9 |
if ( $form_location == 'edit_profile' ){
|
| 10 |
$error_mark = ( ( $field['required'] == 'Yes' ) ? '<span class="wppb-required" title="'.wppb_required_field_error($field["field-title"]).'">*</span>' : '' );
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_display_name_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_display-name_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 7 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 8 |
|
| 9 |
if ( $form_location == 'edit_profile' ){
|
| 10 |
$error_mark = ( ( $field['required'] == 'Yes' ) ? '<span class="wppb-required" title="'.wppb_required_field_error($field["field-title"]).'">*</span>' : '' );
|
front-end/default-fields/email-confirmation/email-confirmation.php
CHANGED
|
@@ -2,8 +2,8 @@
|
|
| 2 |
/* handle field output */
|
| 3 |
function wppb_email_confirmation_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 4 |
if ( $field['field'] == 'Email Confirmation' ) {
|
| 5 |
-
$item_title = apply_filters( 'wppb_' .$form_location.'_email_confirmation_custom_field_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation',
|
| 6 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_description_translation',
|
| 7 |
|
| 8 |
$extra_attr = apply_filters( 'wppb_extra_attribute', '', $field, $form_location );
|
| 9 |
|
| 2 |
/* handle field output */
|
| 3 |
function wppb_email_confirmation_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 4 |
if ( $field['field'] == 'Email Confirmation' ) {
|
| 5 |
+
$item_title = apply_filters( 'wppb_' .$form_location.'_email_confirmation_custom_field_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 6 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 7 |
|
| 8 |
$extra_attr = apply_filters( 'wppb_extra_attribute', '', $field, $form_location );
|
| 9 |
|
front-end/default-fields/email/email.php
CHANGED
|
@@ -3,8 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_email_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_email_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 7 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' )
|
| 10 |
$input_value = get_the_author_meta( 'user_email', $user_id );
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_email_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_email_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 7 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' )
|
| 10 |
$input_value = get_the_author_meta( 'user_email', $user_id );
|
front-end/default-fields/first-name/first-name.php
CHANGED
|
@@ -3,8 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_first_name_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_firstname_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 7 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' )
|
| 10 |
$input_value = get_the_author_meta( 'first_name', $user_id );
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_first_name_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_firstname_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 7 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' )
|
| 10 |
$input_value = get_the_author_meta( 'first_name', $user_id );
|
front-end/default-fields/gdpr-delete/gdpr-delete.php
CHANGED
|
@@ -5,8 +5,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 5 |
function wppb_gdpr_delete_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
if ( $field['field'] == 'GDPR Delete Button' ){
|
| 7 |
if ( $form_location === 'edit_profile' ){
|
| 8 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_gdpr_delete_custom_field_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 9 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 10 |
|
| 11 |
$edited_user_id = get_current_user_id();
|
| 12 |
if( ( !is_multisite() && current_user_can( 'edit_users' ) ) || ( is_multisite() && current_user_can( 'manage_network' ) ) ) {
|
| 5 |
function wppb_gdpr_delete_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
if ( $field['field'] == 'GDPR Delete Button' ){
|
| 7 |
if ( $form_location === 'edit_profile' ){
|
| 8 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_gdpr_delete_custom_field_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 9 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 10 |
|
| 11 |
$edited_user_id = get_current_user_id();
|
| 12 |
if( ( !is_multisite() && current_user_can( 'edit_users' ) ) || ( is_multisite() && current_user_can( 'manage_network' ) ) ) {
|
front-end/default-fields/gdpr/gdpr.php
CHANGED
|
@@ -5,8 +5,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 5 |
function wppb_gdpr_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
if ( $field['field'] == 'GDPR Checkbox' ){
|
| 7 |
if ( $form_location != 'back_end' ){
|
| 8 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_gdpr_custom_field_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 9 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 10 |
|
| 11 |
if( $form_location != 'register' )
|
| 12 |
$input_value = ((wppb_user_meta_exists($user_id, $field['meta-name']) != null) ? get_user_meta($user_id, $field['meta-name'], true) : '');
|
| 5 |
function wppb_gdpr_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
if ( $field['field'] == 'GDPR Checkbox' ){
|
| 7 |
if ( $form_location != 'back_end' ){
|
| 8 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_gdpr_custom_field_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 9 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 10 |
|
| 11 |
if( $form_location != 'register' )
|
| 12 |
$input_value = ((wppb_user_meta_exists($user_id, $field['meta-name']) != null) ? get_user_meta($user_id, $field['meta-name'], true) : '');
|
front-end/default-fields/headings/about-yourself.php
CHANGED
|
@@ -3,8 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 3 |
|
| 4 |
function wppb_default_about_yourself_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 5 |
if ( $field['field'] == 'Default - About Yourself (Heading)' ){
|
| 6 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_default_heading_about_yourself_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 7 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 8 |
|
| 9 |
$output = '<h4>'.$item_title.'</h4><span class="wppb-description-delimiter '. apply_filters( 'wppb_fields_extra_css_class', '', $field ) .'">'.$item_description.'</span>';
|
| 10 |
|
| 3 |
|
| 4 |
function wppb_default_about_yourself_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 5 |
if ( $field['field'] == 'Default - About Yourself (Heading)' ){
|
| 6 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_default_heading_about_yourself_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 7 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 8 |
|
| 9 |
$output = '<h4>'.$item_title.'</h4><span class="wppb-description-delimiter '. apply_filters( 'wppb_fields_extra_css_class', '', $field ) .'">'.$item_description.'</span>';
|
| 10 |
|
front-end/default-fields/headings/contact-info.php
CHANGED
|
@@ -3,8 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 3 |
|
| 4 |
function wppb_default_contact_info_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 5 |
if ( $field['field'] == 'Default - Contact Info (Heading)' ){
|
| 6 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_default_heading_contact_info_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 7 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 8 |
|
| 9 |
$ret_custom_field = '<h4>'.$item_title.'</h4><span class="wppb-description-delimiter '. apply_filters( 'wppb_fields_extra_css_class', '', $field ) .'">'.$item_description.'</span>';
|
| 10 |
|
| 3 |
|
| 4 |
function wppb_default_contact_info_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 5 |
if ( $field['field'] == 'Default - Contact Info (Heading)' ){
|
| 6 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_default_heading_contact_info_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 7 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 8 |
|
| 9 |
$ret_custom_field = '<h4>'.$item_title.'</h4><span class="wppb-description-delimiter '. apply_filters( 'wppb_fields_extra_css_class', '', $field ) .'">'.$item_description.'</span>';
|
| 10 |
|
front-end/default-fields/headings/name.php
CHANGED
|
@@ -3,8 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 3 |
|
| 4 |
function wppb_default_name_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 5 |
if ( $field['field'] == 'Default - Name (Heading)' ){
|
| 6 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_default_heading_name_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 7 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 8 |
|
| 9 |
$ret_custom_field = '<h4>'.$item_title.'</h4><span class="wppb-description-delimiter '. apply_filters( 'wppb_fields_extra_css_class', '', $field ) .'">'.$item_description.'</span>';
|
| 10 |
|
| 3 |
|
| 4 |
function wppb_default_name_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 5 |
if ( $field['field'] == 'Default - Name (Heading)' ){
|
| 6 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_default_heading_name_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 7 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 8 |
|
| 9 |
$ret_custom_field = '<h4>'.$item_title.'</h4><span class="wppb-description-delimiter '. apply_filters( 'wppb_fields_extra_css_class', '', $field ) .'">'.$item_description.'</span>';
|
| 10 |
|
front-end/default-fields/jabber/jabber.php
CHANGED
|
@@ -3,8 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_jabber_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_jabber_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 7 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' )
|
| 10 |
$input_value = get_the_author_meta( 'jabber', $user_id );
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_jabber_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_jabber_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 7 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' )
|
| 10 |
$input_value = get_the_author_meta( 'jabber', $user_id );
|
front-end/default-fields/last-name/last-name.php
CHANGED
|
@@ -3,8 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_last_name_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_lastname_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 7 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' )
|
| 10 |
$input_value = get_the_author_meta( 'last_name', $user_id );
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_last_name_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_lastname_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 7 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' )
|
| 10 |
$input_value = get_the_author_meta( 'last_name', $user_id );
|
front-end/default-fields/nickname/nickname.php
CHANGED
|
@@ -3,8 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_nickname_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_nickname_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 7 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' )
|
| 10 |
$input_value = get_the_author_meta( 'nickname', $user_id );
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_nickname_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_nickname_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 7 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' )
|
| 10 |
$input_value = get_the_author_meta( 'nickname', $user_id );
|
front-end/default-fields/password-repeat/password-repeat.php
CHANGED
|
@@ -3,8 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_password_repeat_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_password_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 7 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 8 |
|
| 9 |
if ( $form_location != 'back_end' ){
|
| 10 |
$error_mark = ( ( $field['required'] == 'Yes' ) ? ( $form_location != 'edit_profile' ? '<span class="wppb-required" title="'.wppb_required_field_error($field["field-title"]).'">*</span>' : '' ) : '' );
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_password_repeat_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_password_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 7 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 8 |
|
| 9 |
if ( $form_location != 'back_end' ){
|
| 10 |
$error_mark = ( ( $field['required'] == 'Yes' ) ? ( $form_location != 'edit_profile' ? '<span class="wppb-required" title="'.wppb_required_field_error($field["field-title"]).'">*</span>' : '' ) : '' );
|
front-end/default-fields/password/password.php
CHANGED
|
@@ -5,8 +5,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 5 |
function wppb_password_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
|
| 7 |
|
| 8 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_password_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 9 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 10 |
|
| 11 |
if ( $form_location != 'back_end' ){
|
| 12 |
$error_mark = ( ( $field['required'] == 'Yes' ) ? ( $form_location != 'edit_profile' ? '<span class="wppb-required" title="'.wppb_required_field_error($field["field-title"]).'">*</span>' : '' ) : '' );
|
| 5 |
function wppb_password_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
|
| 7 |
|
| 8 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_password_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 9 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 10 |
|
| 11 |
if ( $form_location != 'back_end' ){
|
| 12 |
$error_mark = ( ( $field['required'] == 'Yes' ) ? ( $form_location != 'edit_profile' ? '<span class="wppb-required" title="'.wppb_required_field_error($field["field-title"]).'">*</span>' : '' ) : '' );
|
front-end/default-fields/recaptcha/recaptcha.php
CHANGED
|
@@ -276,8 +276,8 @@ function wppb_validate_captcha_response( $publickey, $privatekey ){
|
|
| 276 |
/* the function to add reCAPTCHA to the registration form of PB */
|
| 277 |
function wppb_recaptcha_handler ( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 278 |
if ( $field['field'] == 'reCAPTCHA' ){
|
| 279 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_recaptcha_custom_field_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 280 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 281 |
|
| 282 |
wppb_recaptcha_set_default_values();
|
| 283 |
if ( ($form_location == 'register') && ( isset($field['captcha-pb-forms']) ) && (strpos($field['captcha-pb-forms'],'pb_register') !== false) ) {
|
|
@@ -353,8 +353,8 @@ function wppb_display_recaptcha_recover_password( $output ){
|
|
| 353 |
|
| 354 |
if ( !empty($field) ) {
|
| 355 |
$publickey = trim($field['public-key']);
|
| 356 |
-
$item_title = apply_filters('wppb_recover_password_recaptcha_custom_field_' . $field['id'] . '_item_title', wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_title_translation', $field['field-title']));
|
| 357 |
-
$item_description = wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_description_translation', $field['description']);
|
| 358 |
|
| 359 |
// check where reCAPTCHA should display and add reCAPTCHA html
|
| 360 |
if ( isset($field['captcha-pb-forms']) && ( strpos( $field['captcha-pb-forms'],'pb_recover_password' ) !== false ) ) {
|
|
@@ -455,8 +455,8 @@ function wppb_display_recaptcha_login_form($form_part, $args) {
|
|
| 455 |
$field = wppb_get_recaptcha_field();
|
| 456 |
|
| 457 |
if ( !empty($field) ) {
|
| 458 |
-
$item_title = apply_filters('wppb_login_recaptcha_custom_field_' . $field['id'] . '_item_title', wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_title_translation', $field['field-title']));
|
| 459 |
-
$item_description = wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_description_translation', $field['description']);
|
| 460 |
|
| 461 |
if ( isset($field['captcha-pb-forms']) && ( strpos( $field['captcha-pb-forms'],'pb_login' ) !== false ) ) { // check where reCAPTCHA should display and add reCAPTCHA html
|
| 462 |
|
|
@@ -486,8 +486,8 @@ function wppb_display_recaptcha_wp_login_form(){
|
|
| 486 |
$field = wppb_get_recaptcha_field();
|
| 487 |
|
| 488 |
if ( !empty($field) ) {
|
| 489 |
-
$item_title = apply_filters('wppb_login_recaptcha_custom_field_' . $field['id'] . '_item_title', wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_title_translation', $field['field-title']));
|
| 490 |
-
$item_description = wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_description_translation', $field['description']);
|
| 491 |
|
| 492 |
if ( isset($field['captcha-wp-forms']) && (strpos( $field['captcha-wp-forms'],'default_wp_login' ) !== false) ) { // check where reCAPTCHA should display and add reCAPTCHA html
|
| 493 |
|
|
@@ -553,8 +553,8 @@ function wppb_display_recaptcha_default_wp_recover_password() {
|
|
| 553 |
|
| 554 |
if (!empty($field)) {
|
| 555 |
$publickey = trim($field['public-key']);
|
| 556 |
-
$item_title = apply_filters('wppb_recover_password_recaptcha_custom_field_' . $field['id'] . '_item_title', wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_title_translation', $field['field-title']));
|
| 557 |
-
$item_description = wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_description_translation', $field['description']);
|
| 558 |
|
| 559 |
if ( isset($field['captcha-wp-forms']) && (strpos( $field['captcha-wp-forms'], 'default_wp_recover_password') !== false) ) { // check where reCAPTCHA should display and add reCAPTCHA html
|
| 560 |
|
|
@@ -604,8 +604,8 @@ function wppb_display_recaptcha_default_wp_register(){
|
|
| 604 |
if (!empty($field)) {
|
| 605 |
|
| 606 |
$publickey = trim($field['public-key']);
|
| 607 |
-
$item_title = apply_filters('wppb_register_recaptcha_custom_field_' . $field['id'] . '_item_title', wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_title_translation', $field['field-title']));
|
| 608 |
-
$item_description = wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_description_translation', $field['description']);
|
| 609 |
|
| 610 |
wppb_recaptcha_set_default_values();
|
| 611 |
if (isset($field['captcha-wp-forms']) && (strpos($field['captcha-wp-forms'], 'default_wp_register') !== false)) { // check where reCAPTCHA should display and add reCAPTCHA html
|
| 276 |
/* the function to add reCAPTCHA to the registration form of PB */
|
| 277 |
function wppb_recaptcha_handler ( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 278 |
if ( $field['field'] == 'reCAPTCHA' ){
|
| 279 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_recaptcha_custom_field_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 280 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 281 |
|
| 282 |
wppb_recaptcha_set_default_values();
|
| 283 |
if ( ($form_location == 'register') && ( isset($field['captcha-pb-forms']) ) && (strpos($field['captcha-pb-forms'],'pb_register') !== false) ) {
|
| 353 |
|
| 354 |
if ( !empty($field) ) {
|
| 355 |
$publickey = trim($field['public-key']);
|
| 356 |
+
$item_title = apply_filters('wppb_recover_password_recaptcha_custom_field_' . $field['id'] . '_item_title', wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_title_translation', $field['field-title'], true));
|
| 357 |
+
$item_description = wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_description_translation', $field['description'], true);
|
| 358 |
|
| 359 |
// check where reCAPTCHA should display and add reCAPTCHA html
|
| 360 |
if ( isset($field['captcha-pb-forms']) && ( strpos( $field['captcha-pb-forms'],'pb_recover_password' ) !== false ) ) {
|
| 455 |
$field = wppb_get_recaptcha_field();
|
| 456 |
|
| 457 |
if ( !empty($field) ) {
|
| 458 |
+
$item_title = apply_filters('wppb_login_recaptcha_custom_field_' . $field['id'] . '_item_title', wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_title_translation', $field['field-title'], true));
|
| 459 |
+
$item_description = wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_description_translation', $field['description'], true);
|
| 460 |
|
| 461 |
if ( isset($field['captcha-pb-forms']) && ( strpos( $field['captcha-pb-forms'],'pb_login' ) !== false ) ) { // check where reCAPTCHA should display and add reCAPTCHA html
|
| 462 |
|
| 486 |
$field = wppb_get_recaptcha_field();
|
| 487 |
|
| 488 |
if ( !empty($field) ) {
|
| 489 |
+
$item_title = apply_filters('wppb_login_recaptcha_custom_field_' . $field['id'] . '_item_title', wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_title_translation', $field['field-title'], true));
|
| 490 |
+
$item_description = wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_description_translation', $field['description'], true);
|
| 491 |
|
| 492 |
if ( isset($field['captcha-wp-forms']) && (strpos( $field['captcha-wp-forms'],'default_wp_login' ) !== false) ) { // check where reCAPTCHA should display and add reCAPTCHA html
|
| 493 |
|
| 553 |
|
| 554 |
if (!empty($field)) {
|
| 555 |
$publickey = trim($field['public-key']);
|
| 556 |
+
$item_title = apply_filters('wppb_recover_password_recaptcha_custom_field_' . $field['id'] . '_item_title', wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_title_translation', $field['field-title'], true));
|
| 557 |
+
$item_description = wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_description_translation', $field['description'], true);
|
| 558 |
|
| 559 |
if ( isset($field['captcha-wp-forms']) && (strpos( $field['captcha-wp-forms'], 'default_wp_recover_password') !== false) ) { // check where reCAPTCHA should display and add reCAPTCHA html
|
| 560 |
|
| 604 |
if (!empty($field)) {
|
| 605 |
|
| 606 |
$publickey = trim($field['public-key']);
|
| 607 |
+
$item_title = apply_filters('wppb_register_recaptcha_custom_field_' . $field['id'] . '_item_title', wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_title_translation', $field['field-title'], true));
|
| 608 |
+
$item_description = wppb_icl_t('plugin profile-builder-pro', 'custom_field_' . $field['id'] . '_description_translation', $field['description'], true);
|
| 609 |
|
| 610 |
wppb_recaptcha_set_default_values();
|
| 611 |
if (isset($field['captcha-wp-forms']) && (strpos($field['captcha-wp-forms'], 'default_wp_register') !== false)) { // check where reCAPTCHA should display and add reCAPTCHA html
|
front-end/default-fields/user-role/user-role.php
CHANGED
|
@@ -39,8 +39,8 @@ function wppb_user_role_handler( $output, $form_location, $field, $user_id, $fie
|
|
| 39 |
$input_value = isset( $request_data['custom_field_user_role'] ) ? $request_data['custom_field_user_role'] : $user_role;
|
| 40 |
$input_value_multiple = isset( $request_data['custom_field_user_role'] ) ? $request_data['custom_field_user_role'] : $user_roles;
|
| 41 |
|
| 42 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_user_role_custom_field_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 43 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 44 |
|
| 45 |
//get user roles
|
| 46 |
if( !empty( $field['user-roles'] ) ) {
|
| 39 |
$input_value = isset( $request_data['custom_field_user_role'] ) ? $request_data['custom_field_user_role'] : $user_role;
|
| 40 |
$input_value_multiple = isset( $request_data['custom_field_user_role'] ) ? $request_data['custom_field_user_role'] : $user_roles;
|
| 41 |
|
| 42 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_user_role_custom_field_'.$field['id'].'_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 43 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'custom_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 44 |
|
| 45 |
//get user roles
|
| 46 |
if( !empty( $field['user-roles'] ) ) {
|
front-end/default-fields/username/username.php
CHANGED
|
@@ -3,8 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_username_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_username_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 7 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 8 |
|
| 9 |
$input_value = ( ( $form_location == 'edit_profile' ) ? get_the_author_meta( 'user_login', $user_id ) : '' );
|
| 10 |
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_username_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_username_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 7 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 8 |
|
| 9 |
$input_value = ( ( $form_location == 'edit_profile' ) ? get_the_author_meta( 'user_login', $user_id ) : '' );
|
| 10 |
|
front-end/default-fields/website/website.php
CHANGED
|
@@ -3,8 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_website_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_website_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 7 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' )
|
| 10 |
$input_value = get_the_author_meta( 'user_url', $user_id );
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_website_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_website_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 7 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' )
|
| 10 |
$input_value = get_the_author_meta( 'user_url', $user_id );
|
front-end/default-fields/yim/yim.php
CHANGED
|
@@ -3,8 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_yim_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
-
$item_title = apply_filters( 'wppb_'.$form_location.'_yim_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'] ) );
|
| 7 |
-
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'] );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' )
|
| 10 |
$input_value = get_the_author_meta( 'yim', $user_id );
|
| 3 |
|
| 4 |
/* handle field output */
|
| 5 |
function wppb_yim_handler( $output, $form_location, $field, $user_id, $field_check_errors, $request_data ){
|
| 6 |
+
$item_title = apply_filters( 'wppb_'.$form_location.'_yim_item_title', wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_title_translation', $field['field-title'], true ) );
|
| 7 |
+
$item_description = wppb_icl_t( 'plugin profile-builder-pro', 'default_field_'.$field['id'].'_description_translation', $field['description'], true );
|
| 8 |
$input_value = '';
|
| 9 |
if( $form_location == 'edit_profile' )
|
| 10 |
$input_value = get_the_author_meta( 'yim', $user_id );
|
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 choose what fields should be displayed or add new (custom) ones both in the front-end and in the dashboard.
|
| 6 |
-
Version: 3.6.
|
| 7 |
Author: Cozmoslabs
|
| 8 |
Author URI: https://www.cozmoslabs.com/
|
| 9 |
Text Domain: profile-builder
|
|
@@ -70,7 +70,7 @@ function wppb_free_plugin_init() {
|
|
| 70 |
*
|
| 71 |
*
|
| 72 |
*/
|
| 73 |
-
define('PROFILE_BUILDER_VERSION', '3.6.
|
| 74 |
define('WPPB_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
| 75 |
define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__));
|
| 76 |
define('WPPB_PLUGIN_BASENAME', plugin_basename(__FILE__));
|
| 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 choose what fields should be displayed or add new (custom) ones both in the front-end and in the dashboard.
|
| 6 |
+
Version: 3.6.8
|
| 7 |
Author: Cozmoslabs
|
| 8 |
Author URI: https://www.cozmoslabs.com/
|
| 9 |
Text Domain: profile-builder
|
| 70 |
*
|
| 71 |
*
|
| 72 |
*/
|
| 73 |
+
define('PROFILE_BUILDER_VERSION', '3.6.8' );
|
| 74 |
define('WPPB_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
| 75 |
define('WPPB_PLUGIN_URL', plugin_dir_url(__FILE__));
|
| 76 |
define('WPPB_PLUGIN_BASENAME', plugin_basename(__FILE__));
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: http://www.cozmoslabs.com/wordpress-profile-builder/
|
|
| 4 |
Tags: user registration, user profile, registration, profile, user registration form, 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: 5.9
|
| 7 |
-
Stable tag: 3.6.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -177,6 +177,11 @@ This plugin adds/removes user fields in the front-end. Both default and extra pr
|
|
| 177 |
15. Edit or Add New User Role
|
| 178 |
|
| 179 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 180 |
= 3.6.7 =
|
| 181 |
* Fix: issue with back-end Users with unconfirmed emails page
|
| 182 |
* Misc: remove unnecessary code
|
| 4 |
Tags: user registration, user profile, registration, profile, user registration form, 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: 5.9
|
| 7 |
+
Stable tag: 3.6.8
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 177 |
15. Edit or Add New User Role
|
| 178 |
|
| 179 |
== Changelog ==
|
| 180 |
+
= 3.6.8 =
|
| 181 |
+
* Fix: Sanitize form field titles and descriptions
|
| 182 |
+
* Misc: Improve back-end compatibility with other plugins that use Select2
|
| 183 |
+
* Misc: Add width and height for password visibility image
|
| 184 |
+
|
| 185 |
= 3.6.7 =
|
| 186 |
* Fix: issue with back-end Users with unconfirmed emails page
|
| 187 |
* Misc: remove unnecessary code
|
translation/profile-builder.pot
CHANGED
|
@@ -757,7 +757,7 @@ msgstr ""
|
|
| 757 |
msgid "You will be redirected in 5 seconds. If not, click %%."
|
| 758 |
msgstr ""
|
| 759 |
|
| 760 |
-
#: ../pb-add-on-social-connect/index.php:422, features/functions.php:
|
| 761 |
msgid "here"
|
| 762 |
msgstr ""
|
| 763 |
|
|
@@ -1065,7 +1065,7 @@ msgstr ""
|
|
| 1065 |
msgid "Edit this item"
|
| 1066 |
msgstr ""
|
| 1067 |
|
| 1068 |
-
#: ../pb-add-on-mailchimp-integration/admin/mailchimp-page.php:171, features/functions.php:
|
| 1069 |
msgid "Cancel"
|
| 1070 |
msgstr ""
|
| 1071 |
|
|
@@ -1549,7 +1549,7 @@ msgstr ""
|
|
| 1549 |
msgid "Hide"
|
| 1550 |
msgstr ""
|
| 1551 |
|
| 1552 |
-
#: admin/admin-bar.php:92, admin/general-settings.php:346, admin/private-website.php:162, admin/register-version.php:96, features/functions.php:
|
| 1553 |
msgid "Save Changes"
|
| 1554 |
msgstr ""
|
| 1555 |
|
|
@@ -1573,15 +1573,15 @@ msgstr ""
|
|
| 1573 |
msgid "Very weak"
|
| 1574 |
msgstr ""
|
| 1575 |
|
| 1576 |
-
#: admin/admin-functions.php:138, admin/general-settings.php:333, features/functions.php:
|
| 1577 |
msgid "Weak"
|
| 1578 |
msgstr ""
|
| 1579 |
|
| 1580 |
-
#: admin/admin-functions.php:138, admin/general-settings.php:334, features/functions.php:
|
| 1581 |
msgid "Medium"
|
| 1582 |
msgstr ""
|
| 1583 |
|
| 1584 |
-
#: admin/admin-functions.php:138, admin/general-settings.php:335, features/functions.php:
|
| 1585 |
msgid "Strong"
|
| 1586 |
msgstr ""
|
| 1587 |
|
|
@@ -4241,11 +4241,11 @@ msgstr ""
|
|
| 4241 |
msgid "<pre>Title</pre><pre>Type</pre><pre>Meta Name</pre><pre class=\"wppb-mb-head-required\">Required</pre>"
|
| 4242 |
msgstr ""
|
| 4243 |
|
| 4244 |
-
#: admin/manage-fields.php:1362, features/functions.php:
|
| 4245 |
msgid "Edit"
|
| 4246 |
msgstr ""
|
| 4247 |
|
| 4248 |
-
#: admin/manage-fields.php:1362, features/functions.php:
|
| 4249 |
msgid "Delete"
|
| 4250 |
msgstr ""
|
| 4251 |
|
|
@@ -4545,75 +4545,75 @@ msgstr ""
|
|
| 4545 |
msgid "If you enjoy using <strong> %1$s </strong> please <a href=\"%2$s\" target=\"_blank\">rate us on WordPress.org</a>. More happy users means more features, less bugs and better support for everyone. "
|
| 4546 |
msgstr ""
|
| 4547 |
|
| 4548 |
-
#: features/functions.php:
|
| 4549 |
msgid "GDPR Checkbox"
|
| 4550 |
msgstr ""
|
| 4551 |
|
| 4552 |
-
#: features/functions.php:
|
| 4553 |
msgid "I allow the website to collect and store the data I submit through this form."
|
| 4554 |
msgstr ""
|
| 4555 |
|
| 4556 |
-
#: features/functions.php:
|
| 4557 |
msgid "Honeypot"
|
| 4558 |
msgstr ""
|
| 4559 |
|
| 4560 |
-
#: features/functions.php:
|
| 4561 |
msgid "Strength indicator"
|
| 4562 |
msgstr ""
|
| 4563 |
|
| 4564 |
-
#: features/functions.php:
|
| 4565 |
msgid "Very Weak"
|
| 4566 |
msgstr ""
|
| 4567 |
|
| 4568 |
-
#: features/functions.php:
|
| 4569 |
msgid "Minimum length of %d characters."
|
| 4570 |
msgstr ""
|
| 4571 |
|
| 4572 |
-
#: features/functions.php:
|
| 4573 |
msgid "The password must have a minimum strength of %s"
|
| 4574 |
msgstr ""
|
| 4575 |
|
| 4576 |
-
#: features/functions.php:
|
| 4577 |
msgid "This field is required"
|
| 4578 |
msgstr ""
|
| 4579 |
|
| 4580 |
-
#: features/functions.php:
|
| 4581 |
msgid "Please enter a (valid) reCAPTCHA value"
|
| 4582 |
msgstr ""
|
| 4583 |
|
| 4584 |
-
#: features/functions.php:
|
| 4585 |
msgid "Incorrect phone number"
|
| 4586 |
msgstr ""
|
| 4587 |
|
| 4588 |
-
#: features/functions.php:
|
| 4589 |
msgid "Content"
|
| 4590 |
msgstr ""
|
| 4591 |
|
| 4592 |
-
#: features/functions.php:
|
| 4593 |
msgid "<br><br>Also, you will be able to visit your site at "
|
| 4594 |
msgstr ""
|
| 4595 |
|
| 4596 |
-
#: features/functions.php:
|
| 4597 |
msgid "<br><br>You can visit your site at "
|
| 4598 |
msgstr ""
|
| 4599 |
|
| 4600 |
-
#: features/functions.php:
|
| 4601 |
msgid "You will soon be redirected automatically. If you see this page for more than %1$d seconds, please click %2$s.%3$s"
|
| 4602 |
msgstr ""
|
| 4603 |
|
| 4604 |
-
#: features/functions.php:
|
| 4605 |
msgid "No feed available,please visit our <a href=\"%s\">homepage</a>!"
|
| 4606 |
msgstr ""
|
| 4607 |
|
| 4608 |
-
#: features/functions.php:
|
| 4609 |
msgid "You are not currently logged in."
|
| 4610 |
msgstr ""
|
| 4611 |
|
| 4612 |
-
#: features/functions.php:
|
| 4613 |
msgid "Profile Builder"
|
| 4614 |
msgstr ""
|
| 4615 |
|
| 4616 |
-
#: features/functions.php:
|
| 4617 |
msgid "User Meta"
|
| 4618 |
msgstr ""
|
| 4619 |
|
|
@@ -7095,11 +7095,11 @@ msgstr ""
|
|
| 7095 |
msgid "This username is already reserved to be used soon."
|
| 7096 |
msgstr ""
|
| 7097 |
|
| 7098 |
-
#: front-end/extra-fields/avatar/avatar.php:
|
| 7099 |
msgid "Remove"
|
| 7100 |
msgstr ""
|
| 7101 |
|
| 7102 |
-
#: front-end/extra-fields/avatar/avatar.php:
|
| 7103 |
msgid "required"
|
| 7104 |
msgstr ""
|
| 7105 |
|
|
@@ -7143,19 +7143,19 @@ msgstr ""
|
|
| 7143 |
msgid "...Choose"
|
| 7144 |
msgstr ""
|
| 7145 |
|
| 7146 |
-
#: front-end/extra-fields/upload/upload.php:
|
| 7147 |
msgid "Select File"
|
| 7148 |
msgstr ""
|
| 7149 |
|
| 7150 |
-
#: front-end/extra-fields/upload/upload.php:
|
| 7151 |
msgid "Upload "
|
| 7152 |
msgstr ""
|
| 7153 |
|
| 7154 |
-
#: front-end/extra-fields/upload/upload.php:
|
| 7155 |
msgid "Files must be smaller than "
|
| 7156 |
msgstr ""
|
| 7157 |
|
| 7158 |
-
#: front-end/extra-fields/upload/upload.php:
|
| 7159 |
msgid "Sorry, you cannot upload this file type for this field."
|
| 7160 |
msgstr ""
|
| 7161 |
|
| 757 |
msgid "You will be redirected in 5 seconds. If not, click %%."
|
| 758 |
msgstr ""
|
| 759 |
|
| 760 |
+
#: ../pb-add-on-social-connect/index.php:422, features/functions.php:1363
|
| 761 |
msgid "here"
|
| 762 |
msgstr ""
|
| 763 |
|
| 1065 |
msgid "Edit this item"
|
| 1066 |
msgstr ""
|
| 1067 |
|
| 1068 |
+
#: ../pb-add-on-mailchimp-integration/admin/mailchimp-page.php:171, features/functions.php:1052, features/roles-editor/roles-editor.php:181, assets/lib/wck-api/wordpress-creation-kit.php:406
|
| 1069 |
msgid "Cancel"
|
| 1070 |
msgstr ""
|
| 1071 |
|
| 1549 |
msgid "Hide"
|
| 1550 |
msgstr ""
|
| 1551 |
|
| 1552 |
+
#: admin/admin-bar.php:92, admin/general-settings.php:346, admin/private-website.php:162, admin/register-version.php:96, features/functions.php:1045, features/content-restriction/content-restriction.php:162, features/two-factor-authentication/class-two-factor-authentication.php:156, assets/lib/class-mustache-templates/class-mustache-templates.php:392, assets/lib/wck-api/wordpress-creation-kit.php:405, admin/advanced-settings/includes/views/view-admin.php:112, admin/advanced-settings/includes/views/view-fields.php:309, admin/advanced-settings/includes/views/view-forms.php:407, admin/advanced-settings/includes/views/view-shortcodes.php:77, admin/advanced-settings/includes/views/view-userlisting.php:91
|
| 1553 |
msgid "Save Changes"
|
| 1554 |
msgstr ""
|
| 1555 |
|
| 1573 |
msgid "Very weak"
|
| 1574 |
msgstr ""
|
| 1575 |
|
| 1576 |
+
#: admin/admin-functions.php:138, admin/general-settings.php:333, features/functions.php:788, features/functions.php:812
|
| 1577 |
msgid "Weak"
|
| 1578 |
msgstr ""
|
| 1579 |
|
| 1580 |
+
#: admin/admin-functions.php:138, admin/general-settings.php:334, features/functions.php:788, features/functions.php:812
|
| 1581 |
msgid "Medium"
|
| 1582 |
msgstr ""
|
| 1583 |
|
| 1584 |
+
#: admin/admin-functions.php:138, admin/general-settings.php:335, features/functions.php:788, features/functions.php:812
|
| 1585 |
msgid "Strong"
|
| 1586 |
msgstr ""
|
| 1587 |
|
| 4241 |
msgid "<pre>Title</pre><pre>Type</pre><pre>Meta Name</pre><pre class=\"wppb-mb-head-required\">Required</pre>"
|
| 4242 |
msgstr ""
|
| 4243 |
|
| 4244 |
+
#: admin/manage-fields.php:1362, features/functions.php:1066, features/functions.php:1073, add-ons/custom-redirects/custom_redirects_admin.php:183, add-ons/custom-redirects/custom_redirects_admin.php:197, add-ons/custom-redirects/custom_redirects_admin.php:211, add-ons/custom-redirects/custom_redirects_admin.php:225, add-ons/multiple-forms/multiple-forms.php:411, features/admin-approval/class-admin-approval.php:111, features/roles-editor/roles-editor.php:872, assets/lib/wck-api/wordpress-creation-kit.php:447, assets/lib/wck-api/wordpress-creation-kit.php:548
|
| 4245 |
msgid "Edit"
|
| 4246 |
msgstr ""
|
| 4247 |
|
| 4248 |
+
#: admin/manage-fields.php:1362, features/functions.php:1059, features/functions.php:1073, add-ons/custom-redirects/custom_redirects_admin.php:183, add-ons/custom-redirects/custom_redirects_admin.php:197, add-ons/custom-redirects/custom_redirects_admin.php:211, add-ons/custom-redirects/custom_redirects_admin.php:225, features/admin-approval/class-admin-approval.php:116, features/admin-approval/class-admin-approval.php:232, features/email-confirmation/class-email-confirmation.php:121, features/email-confirmation/class-email-confirmation.php:218, features/roles-editor/roles-editor.php:180, features/roles-editor/roles-editor.php:910, features/roles-editor/roles-editor.php:899, features/roles-editor/roles-editor.php:890, assets/lib/wck-api/wordpress-creation-kit.php:447, assets/lib/wck-api/wordpress-creation-kit.php:549, front-end/default-fields/gdpr-delete/gdpr-delete.php:20
|
| 4249 |
msgid "Delete"
|
| 4250 |
msgstr ""
|
| 4251 |
|
| 4545 |
msgid "If you enjoy using <strong> %1$s </strong> please <a href=\"%2$s\" target=\"_blank\">rate us on WordPress.org</a>. More happy users means more features, less bugs and better support for everyone. "
|
| 4546 |
msgstr ""
|
| 4547 |
|
| 4548 |
+
#: features/functions.php:348
|
| 4549 |
msgid "GDPR Checkbox"
|
| 4550 |
msgstr ""
|
| 4551 |
|
| 4552 |
+
#: features/functions.php:348
|
| 4553 |
msgid "I allow the website to collect and store the data I submit through this form."
|
| 4554 |
msgstr ""
|
| 4555 |
|
| 4556 |
+
#: features/functions.php:348
|
| 4557 |
msgid "Honeypot"
|
| 4558 |
msgstr ""
|
| 4559 |
|
| 4560 |
+
#: features/functions.php:762
|
| 4561 |
msgid "Strength indicator"
|
| 4562 |
msgstr ""
|
| 4563 |
|
| 4564 |
+
#: features/functions.php:788, features/functions.php:812
|
| 4565 |
msgid "Very Weak"
|
| 4566 |
msgstr ""
|
| 4567 |
|
| 4568 |
+
#: features/functions.php:802
|
| 4569 |
msgid "Minimum length of %d characters."
|
| 4570 |
msgstr ""
|
| 4571 |
|
| 4572 |
+
#: features/functions.php:813, front-end/recover.php:384, front-end/default-fields/password/password.php:59
|
| 4573 |
msgid "The password must have a minimum strength of %s"
|
| 4574 |
msgstr ""
|
| 4575 |
|
| 4576 |
+
#: features/functions.php:964
|
| 4577 |
msgid "This field is required"
|
| 4578 |
msgstr ""
|
| 4579 |
|
| 4580 |
+
#: features/functions.php:1002, front-end/default-fields/recaptcha/recaptcha.php:538, front-end/default-fields/recaptcha/recaptcha.php:529, front-end/default-fields/recaptcha/recaptcha.php:594, front-end/default-fields/recaptcha/recaptcha.php:642
|
| 4581 |
msgid "Please enter a (valid) reCAPTCHA value"
|
| 4582 |
msgstr ""
|
| 4583 |
|
| 4584 |
+
#: features/functions.php:1009
|
| 4585 |
msgid "Incorrect phone number"
|
| 4586 |
msgstr ""
|
| 4587 |
|
| 4588 |
+
#: features/functions.php:1073, assets/lib/wck-api/wordpress-creation-kit.php:447
|
| 4589 |
msgid "Content"
|
| 4590 |
msgstr ""
|
| 4591 |
|
| 4592 |
+
#: features/functions.php:1261
|
| 4593 |
msgid "<br><br>Also, you will be able to visit your site at "
|
| 4594 |
msgstr ""
|
| 4595 |
|
| 4596 |
+
#: features/functions.php:1274
|
| 4597 |
msgid "<br><br>You can visit your site at "
|
| 4598 |
msgstr ""
|
| 4599 |
|
| 4600 |
+
#: features/functions.php:1364
|
| 4601 |
msgid "You will soon be redirected automatically. If you see this page for more than %1$d seconds, please click %2$s.%3$s"
|
| 4602 |
msgstr ""
|
| 4603 |
|
| 4604 |
+
#: features/functions.php:1540
|
| 4605 |
msgid "No feed available,please visit our <a href=\"%s\">homepage</a>!"
|
| 4606 |
msgstr ""
|
| 4607 |
|
| 4608 |
+
#: features/functions.php:1581
|
| 4609 |
msgid "You are not currently logged in."
|
| 4610 |
msgstr ""
|
| 4611 |
|
| 4612 |
+
#: features/functions.php:1618
|
| 4613 |
msgid "Profile Builder"
|
| 4614 |
msgstr ""
|
| 4615 |
|
| 4616 |
+
#: features/functions.php:1636, features/email-confirmation/class-email-confirmation.php:92, features/email-confirmation/class-email-confirmation.php:171
|
| 4617 |
msgid "User Meta"
|
| 4618 |
msgstr ""
|
| 4619 |
|
| 7095 |
msgid "This username is already reserved to be used soon."
|
| 7096 |
msgstr ""
|
| 7097 |
|
| 7098 |
+
#: front-end/extra-fields/avatar/avatar.php:22, front-end/extra-fields/upload/upload.php:18, front-end/extra-fields/upload/upload.php:130, assets/lib/wck-api/fields/upload.php:43
|
| 7099 |
msgid "Remove"
|
| 7100 |
msgstr ""
|
| 7101 |
|
| 7102 |
+
#: front-end/extra-fields/avatar/avatar.php:86, front-end/extra-fields/checkbox/checkbox.php:45, front-end/extra-fields/colorpicker/colorpicker.php:45, front-end/extra-fields/datepicker/datepicker.php:40, front-end/extra-fields/input/input.php:30, front-end/extra-fields/input-email/input-email.php:30, front-end/extra-fields/input-hidden/input-hidden.php:34, front-end/extra-fields/input-url/input-url.php:30, front-end/extra-fields/language/language.php:34, front-end/extra-fields/map/map.php:57, front-end/extra-fields/number/number.php:30, front-end/extra-fields/phone/phone.php:39, front-end/extra-fields/radio/radio.php:44, front-end/extra-fields/select/select.php:51, front-end/extra-fields/select-cpt/select-cpt.php:59, front-end/extra-fields/select-multiple/select-multiple.php:47, front-end/extra-fields/select-timezone/select-timezone.php:49, front-end/extra-fields/select2/select2-multiple.php:88, front-end/extra-fields/select2/select2.php:74, front-end/extra-fields/textarea/textarea.php:30, front-end/extra-fields/upload/upload.php:82, front-end/extra-fields/wysiwyg/wysiwyg.php:56
|
| 7103 |
msgid "required"
|
| 7104 |
msgstr ""
|
| 7105 |
|
| 7143 |
msgid "...Choose"
|
| 7144 |
msgstr ""
|
| 7145 |
|
| 7146 |
+
#: front-end/extra-fields/upload/upload.php:195
|
| 7147 |
msgid "Select File"
|
| 7148 |
msgstr ""
|
| 7149 |
|
| 7150 |
+
#: front-end/extra-fields/upload/upload.php:201, assets/lib/wck-api/fields/upload.php:75
|
| 7151 |
msgid "Upload "
|
| 7152 |
msgstr ""
|
| 7153 |
|
| 7154 |
+
#: front-end/extra-fields/upload/upload.php:180, front-end/extra-fields/upload/upload_helper_functions.php:61
|
| 7155 |
msgid "Files must be smaller than "
|
| 7156 |
msgstr ""
|
| 7157 |
|
| 7158 |
+
#: front-end/extra-fields/upload/upload.php:181, front-end/extra-fields/upload/upload_helper_functions.php:87, front-end/extra-fields/upload/upload_helper_functions.php:96
|
| 7159 |
msgid "Sorry, you cannot upload this file type for this field."
|
| 7160 |
msgstr ""
|
| 7161 |
|
