Version Description
- Fixed: Required setting checkbox getting out of sync when duplicating fields
- Fixed: CSS class name typo in the form builder layout selector
- Fixed: Smart Tag
field_id
stripping line breaks - Fixed: Form JS settings
wpforms_settings
missing due to some caching plugins - Fixed: Empty classes causing
array
string to be printed in some use cases
Download this release
Release Info
Developer | jaredatch |
Plugin | Contact Form by WPForms – Drag & Drop Form Builder for WordPress |
Version | 1.3.7.3 |
Comparing to | |
See all releases |
Code changes from version 1.3.7.2 to 1.3.7.3
- assets/css/wpforms-full.css +4 -0
- assets/js/admin-builder.js +5 -3
- changelog.txt +7 -0
- includes/class-frontend.php +48 -36
- includes/class-smart-tags.php +8 -5
- includes/emails/class-emails.php +1 -1
- includes/fields/class-base.php +3 -2
- includes/fields/class-email.php +1 -2
- includes/fields/class-name.php +2 -4
- includes/functions.php +2 -4
- languages/wpforms.pot +120 -137
- readme.txt +7 -0
- wpforms.php +2 -2
assets/css/wpforms-full.css
CHANGED
@@ -163,6 +163,10 @@ div.wpforms-container-full .wpforms-form .wpforms-field-sublabel {
|
|
163 |
padding: 0;
|
164 |
}
|
165 |
|
|
|
|
|
|
|
|
|
166 |
div.wpforms-container-full .wpforms-form .wpforms-field-label-inline {
|
167 |
display: inline;
|
168 |
vertical-align: baseline;
|
163 |
padding: 0;
|
164 |
}
|
165 |
|
166 |
+
div.wpforms-container-full .wpforms-form .wpforms-field-sublabel.before {
|
167 |
+
margin: 0 0 4px 0;
|
168 |
+
}
|
169 |
+
|
170 |
div.wpforms-container-full .wpforms-form .wpforms-field-label-inline {
|
171 |
display: inline;
|
172 |
vertical-align: baseline;
|
assets/js/admin-builder.js
CHANGED
@@ -975,7 +975,9 @@
|
|
975 |
|
976 |
if ( type === 'checkbox' || type === 'radio' ) {
|
977 |
if ($this.is(':checked')){
|
978 |
-
$newFieldOptions.find('[name="'+newName+'"]').prop('checked', true);
|
|
|
|
|
979 |
}
|
980 |
} else if ($this.is('select')) {
|
981 |
if ($this.find('option:selected').length) {
|
@@ -1768,7 +1770,7 @@
|
|
1768 |
'layout-4' : [
|
1769 |
{
|
1770 |
'class': 'one-third',
|
1771 |
-
'data' : 'wpforms-one-
|
1772 |
},
|
1773 |
{
|
1774 |
'class': 'two-third',
|
@@ -1778,7 +1780,7 @@
|
|
1778 |
'layout-5' : [
|
1779 |
{
|
1780 |
'class': 'two-third',
|
1781 |
-
'data' : 'wpforms-two-
|
1782 |
},
|
1783 |
{
|
1784 |
'class': 'one-third',
|
975 |
|
976 |
if ( type === 'checkbox' || type === 'radio' ) {
|
977 |
if ($this.is(':checked')){
|
978 |
+
$newFieldOptions.find('[name="'+newName+'"]').prop('checked', true).attr('checked','checked');
|
979 |
+
} else {
|
980 |
+
$newFieldOptions.find('[name="'+newName+'"]').prop('checked', false).attr('checked',false);
|
981 |
}
|
982 |
} else if ($this.is('select')) {
|
983 |
if ($this.find('option:selected').length) {
|
1770 |
'layout-4' : [
|
1771 |
{
|
1772 |
'class': 'one-third',
|
1773 |
+
'data' : 'wpforms-one-thirds wpforms-first'
|
1774 |
},
|
1775 |
{
|
1776 |
'class': 'two-third',
|
1780 |
'layout-5' : [
|
1781 |
{
|
1782 |
'class': 'two-third',
|
1783 |
+
'data' : 'wpforms-two-thirds wpforms-first'
|
1784 |
},
|
1785 |
{
|
1786 |
'class': 'one-third',
|
changelog.txt
CHANGED
@@ -1,5 +1,12 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
= 1.3.7.2 =
|
4 |
- Fixed: Error for some users with PHP 5.4 and below
|
5 |
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 1.3.7.3
|
4 |
+
- Fixed: Required setting checkbox getting out of sync when duplicating fields
|
5 |
+
- Fixed: CSS class name typo in the form builder layout selector
|
6 |
+
- Fixed: Smart Tag `field_id` stripping line breaks
|
7 |
+
- Fixed: Form JS settings `wpforms_settings` missing due to some caching plugins
|
8 |
+
- Fixed: Empty classes causing `array` string to be printed in some use cases
|
9 |
+
|
10 |
= 1.3.7.2 =
|
11 |
- Fixed: Error for some users with PHP 5.4 and below
|
12 |
|
includes/class-frontend.php
CHANGED
@@ -111,7 +111,7 @@ class WPForms_Frontend {
|
|
111 |
);
|
112 |
$form_data = wpforms()->form->get( $success, $args );
|
113 |
}
|
114 |
-
} elseif ( ! empty( $_POST['wpforms']['id'] ) &&
|
115 |
// Completed form check.
|
116 |
$success = true;
|
117 |
}
|
@@ -408,9 +408,11 @@ class WPForms_Frontend {
|
|
408 |
function get_field_properties( $field, $form_data, $attributes = array() ) {
|
409 |
|
410 |
// This filter is for backwards compatibility purposes.
|
411 |
-
$types = array( 'text', 'textarea', 'number', 'email', 'hidden', 'url', 'html', 'divider' );
|
412 |
if ( in_array( $field['type'], $types, true ) ) {
|
413 |
$field = apply_filters( "wpforms_{$field['type']}_field_display", $field, $attributes, $form_data );
|
|
|
|
|
414 |
}
|
415 |
|
416 |
$form_id = absint( $form_data['id'] );
|
@@ -651,7 +653,7 @@ class WPForms_Frontend {
|
|
651 |
);
|
652 |
$data = apply_filters( 'wpforms_frontend_recaptcha', $data, $form_data );
|
653 |
|
654 |
-
if ( 'invisible' === $type ){
|
655 |
$data['size'] = 'invisible';
|
656 |
}
|
657 |
|
@@ -876,7 +878,6 @@ class WPForms_Frontend {
|
|
876 |
);
|
877 |
|
878 |
// Load reCAPTCHA support if form supports it.
|
879 |
-
|
880 |
$site_key = wpforms_setting( 'recaptcha-site-key' );
|
881 |
$secret_key = wpforms_setting( 'recaptcha-secret-key' );
|
882 |
$type = wpforms_setting( 'recaptcha-type', 'v2' );
|
@@ -898,38 +899,6 @@ class WPForms_Frontend {
|
|
898 |
}
|
899 |
wp_add_inline_script( 'wpforms-recaptcha', $recaptch_inline );
|
900 |
}
|
901 |
-
|
902 |
-
// Define base strings.
|
903 |
-
$strings = array(
|
904 |
-
'val_required' => wpforms_setting( 'validation-required', __( 'This field is required.', 'wpforms' ) ),
|
905 |
-
'val_url' => wpforms_setting( 'validation-url', __( 'Please enter a valid URL.', 'wpforms' ) ),
|
906 |
-
'val_email' => wpforms_setting( 'validation-email', __( 'Please enter a valid email address.', 'wpforms' ) ),
|
907 |
-
'val_number' => wpforms_setting( 'validation-number', __( 'Please enter a valid number.', 'wpforms' ) ),
|
908 |
-
'val_confirm' => wpforms_setting( 'validation-confirm', __( 'Field values do not match.', 'wpforms' ) ),
|
909 |
-
'val_fileextension' => wpforms_setting( 'validation-fileextension', __( 'File type is not allowed.', 'wpforms' ) ),
|
910 |
-
'val_filesize' => wpforms_setting( 'validation-filesize', __( 'File exceeds max size allowed.', 'wpforms' ) ),
|
911 |
-
'val_time12h' => wpforms_setting( 'validation-time12h', __( 'Please enter time in 12-hour AM/PM format (eg 8:45 AM).', 'wpforms' ) ),
|
912 |
-
'val_time24h' => wpforms_setting( 'validation-time24h', __( 'Please enter time in 24-hour format (eg 22:45).', 'wpforms' ) ),
|
913 |
-
'val_requiredpayment' => wpforms_setting( 'validation-requiredpayment', __( 'Payment is required.', 'wpforms' ) ),
|
914 |
-
'val_creditcard' => wpforms_setting( 'validation-creditcard', __( 'Please enter a valid credit card number.', 'wpforms' ) ),
|
915 |
-
);
|
916 |
-
// Include payment related strings if needed.
|
917 |
-
if ( function_exists( 'wpforms_get_currencies' ) ) {
|
918 |
-
$currency = wpforms_setting( 'currency', 'USD' );
|
919 |
-
$currencies = wpforms_get_currencies();
|
920 |
-
$strings['currency_code'] = $currency;
|
921 |
-
$strings['currency_thousands'] = $currencies[ $currency ]['thousands_separator'];
|
922 |
-
$strings['currency_decimal'] = $currencies[ $currency ]['decimal_separator'];
|
923 |
-
$strings['currency_symbol'] = $currencies[ $currency ]['symbol'];
|
924 |
-
$strings['currency_symbol_pos'] = $currencies[ $currency ]['symbol_pos'];
|
925 |
-
}
|
926 |
-
$strings = apply_filters( 'wpforms_frontend_strings', $strings );
|
927 |
-
// Load the necessary strings.
|
928 |
-
wp_localize_script(
|
929 |
-
'wpforms',
|
930 |
-
'wpforms_settings',
|
931 |
-
$strings
|
932 |
-
);
|
933 |
}
|
934 |
|
935 |
/**
|
@@ -989,6 +958,49 @@ class WPForms_Frontend {
|
|
989 |
return;
|
990 |
}
|
991 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
992 |
do_action( 'wpforms_wp_footer_end', $this->forms );
|
993 |
}
|
994 |
|
111 |
);
|
112 |
$form_data = wpforms()->form->get( $success, $args );
|
113 |
}
|
114 |
+
} elseif ( ! empty( $_POST['wpforms']['id'] ) && absint( $_POST['wpforms']['id'] ) === $form_id && empty( $errors ) ) {
|
115 |
// Completed form check.
|
116 |
$success = true;
|
117 |
}
|
408 |
function get_field_properties( $field, $form_data, $attributes = array() ) {
|
409 |
|
410 |
// This filter is for backwards compatibility purposes.
|
411 |
+
$types = array( 'text', 'textarea', 'number', 'email', 'hidden', 'url', 'html', 'divider', 'password', 'phone' );
|
412 |
if ( in_array( $field['type'], $types, true ) ) {
|
413 |
$field = apply_filters( "wpforms_{$field['type']}_field_display", $field, $attributes, $form_data );
|
414 |
+
} elseif ( 'credit-card' === $field['type'] ) {
|
415 |
+
$field = apply_filters( 'wpforms_creditcard_field_display', $field, $attributes, $form_data );
|
416 |
}
|
417 |
|
418 |
$form_id = absint( $form_data['id'] );
|
653 |
);
|
654 |
$data = apply_filters( 'wpforms_frontend_recaptcha', $data, $form_data );
|
655 |
|
656 |
+
if ( 'invisible' === $type ) {
|
657 |
$data['size'] = 'invisible';
|
658 |
}
|
659 |
|
878 |
);
|
879 |
|
880 |
// Load reCAPTCHA support if form supports it.
|
|
|
881 |
$site_key = wpforms_setting( 'recaptcha-site-key' );
|
882 |
$secret_key = wpforms_setting( 'recaptcha-secret-key' );
|
883 |
$type = wpforms_setting( 'recaptcha-type', 'v2' );
|
899 |
}
|
900 |
wp_add_inline_script( 'wpforms-recaptcha', $recaptch_inline );
|
901 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
902 |
}
|
903 |
|
904 |
/**
|
958 |
return;
|
959 |
}
|
960 |
|
961 |
+
// Below we do our own implentation of wp_localize_script in an effort
|
962 |
+
// to be better compatible with caching plugins which were causing
|
963 |
+
// conflicts.
|
964 |
+
|
965 |
+
// Define base strings.
|
966 |
+
$strings = array(
|
967 |
+
'val_required' => wpforms_setting( 'validation-required', __( 'This field is required.', 'wpforms' ) ),
|
968 |
+
'val_url' => wpforms_setting( 'validation-url', __( 'Please enter a valid URL.', 'wpforms' ) ),
|
969 |
+
'val_email' => wpforms_setting( 'validation-email', __( 'Please enter a valid email address.', 'wpforms' ) ),
|
970 |
+
'val_number' => wpforms_setting( 'validation-number', __( 'Please enter a valid number.', 'wpforms' ) ),
|
971 |
+
'val_confirm' => wpforms_setting( 'validation-confirm', __( 'Field values do not match.', 'wpforms' ) ),
|
972 |
+
'val_fileextension' => wpforms_setting( 'validation-fileextension', __( 'File type is not allowed.', 'wpforms' ) ),
|
973 |
+
'val_filesize' => wpforms_setting( 'validation-filesize', __( 'File exceeds max size allowed.', 'wpforms' ) ),
|
974 |
+
'val_time12h' => wpforms_setting( 'validation-time12h', __( 'Please enter time in 12-hour AM/PM format (eg 8:45 AM).', 'wpforms' ) ),
|
975 |
+
'val_time24h' => wpforms_setting( 'validation-time24h', __( 'Please enter time in 24-hour format (eg 22:45).', 'wpforms' ) ),
|
976 |
+
'val_requiredpayment' => wpforms_setting( 'validation-requiredpayment', __( 'Payment is required.', 'wpforms' ) ),
|
977 |
+
'val_creditcard' => wpforms_setting( 'validation-creditcard', __( 'Please enter a valid credit card number.', 'wpforms' ) ),
|
978 |
+
);
|
979 |
+
// Include payment related strings if needed.
|
980 |
+
if ( function_exists( 'wpforms_get_currencies' ) ) {
|
981 |
+
$currency = wpforms_setting( 'currency', 'USD' );
|
982 |
+
$currencies = wpforms_get_currencies();
|
983 |
+
$strings['currency_code'] = $currency;
|
984 |
+
$strings['currency_thousands'] = $currencies[ $currency ]['thousands_separator'];
|
985 |
+
$strings['currency_decimal'] = $currencies[ $currency ]['decimal_separator'];
|
986 |
+
$strings['currency_symbol'] = $currencies[ $currency ]['symbol'];
|
987 |
+
$strings['currency_symbol_pos'] = $currencies[ $currency ]['symbol_pos'];
|
988 |
+
}
|
989 |
+
$strings = apply_filters( 'wpforms_frontend_strings', $strings );
|
990 |
+
|
991 |
+
foreach ( (array) $strings as $key => $value ) {
|
992 |
+
if ( ! is_scalar( $value ) ) {
|
993 |
+
continue;
|
994 |
+
}
|
995 |
+
$strings[ $key ] = html_entity_decode( (string) $value, ENT_QUOTES, 'UTF-8');
|
996 |
+
}
|
997 |
+
|
998 |
+
echo "<script type='text/javascript'>\n";
|
999 |
+
echo "/* <![CDATA[ */\n";
|
1000 |
+
echo 'var wpforms_settings = ' . wp_json_encode( $strings ) . "\n";
|
1001 |
+
echo "/* ]]> */\n";
|
1002 |
+
echo "</script>\n";
|
1003 |
+
|
1004 |
do_action( 'wpforms_wp_footer_end', $this->forms );
|
1005 |
}
|
1006 |
|
includes/class-smart-tags.php
CHANGED
@@ -242,11 +242,14 @@ class WPForms_Smart_Tags {
|
|
242 |
// Field smart tags (settings, etc)
|
243 |
preg_match_all( "/\{field_id=\"(.+?)\"\}/", $content, $ids );
|
244 |
// We can only process field smart tags if we have $fields
|
245 |
-
if ( !empty( $ids[1] ) && !empty( $fields ) ) {
|
246 |
|
247 |
-
foreach( $ids[1] as $key => $field_id ) {
|
248 |
-
|
249 |
-
|
|
|
|
|
|
|
250 |
$content = str_replace( '{field_id="' . $field_id . '"}', $value , $content );
|
251 |
}
|
252 |
}
|
@@ -270,4 +273,4 @@ class WPForms_Smart_Tags {
|
|
270 |
|
271 |
return $content;
|
272 |
}
|
273 |
-
}
|
242 |
// Field smart tags (settings, etc)
|
243 |
preg_match_all( "/\{field_id=\"(.+?)\"\}/", $content, $ids );
|
244 |
// We can only process field smart tags if we have $fields
|
245 |
+
if ( ! empty( $ids[1] ) && ! empty( $fields ) ) {
|
246 |
|
247 |
+
foreach ( $ids[1] as $key => $field_id ) {
|
248 |
+
if ( function_exists( 'sanitize_textarea_field' ) ) {
|
249 |
+
$value = ! empty( $fields[ $field_id ]['value'] ) ? sanitize_textarea_field( $fields[ $field_id ]['value'] ) : '';
|
250 |
+
} else {
|
251 |
+
$value = ! empty( $fields[ $field_id ]['value'] ) ? sanitize_text_field( $fields[ $field_id ]['value'] ) : '';
|
252 |
+
}
|
253 |
$content = str_replace( '{field_id="' . $field_id . '"}', $value , $content );
|
254 |
}
|
255 |
}
|
273 |
|
274 |
return $content;
|
275 |
}
|
276 |
+
}
|
includes/emails/class-emails.php
CHANGED
@@ -390,7 +390,7 @@ class WPForms_WP_Emails {
|
|
390 |
}
|
391 |
|
392 |
/**
|
393 |
-
* Process the all fields smart tag if
|
394 |
*
|
395 |
* @since 1.1.3
|
396 |
*/
|
390 |
}
|
391 |
|
392 |
/**
|
393 |
+
* Process the all fields smart tag if present.
|
394 |
*
|
395 |
* @since 1.1.3
|
396 |
*/
|
includes/fields/class-base.php
CHANGED
@@ -445,7 +445,7 @@ abstract class WPForms_Field {
|
|
445 |
);
|
446 |
|
447 |
// Field option choices inputs
|
448 |
-
$option_choices = sprintf( '<ul data-next-id="%s" data-field-id="%d" data-field-type="%s">', max( array_keys( $values ) ) +1, $field['id'], $this->type );
|
449 |
foreach ( $values as $key => $value ) {
|
450 |
$default = ! empty( $value['default'] ) ? $value['default'] : '';
|
451 |
$placeholder = wpforms_format_amount( 0 );
|
@@ -842,8 +842,9 @@ abstract class WPForms_Field {
|
|
842 |
}
|
843 |
|
844 |
printf(
|
845 |
-
'<label for="%s" class="wpforms-field-sublabel %s">%s</label>',
|
846 |
esc_attr( $field['properties']['inputs'][ $key ]['id'] ),
|
|
|
847 |
$hidden,
|
848 |
$field['properties']['inputs'][ $key ]['sublabel']['value']
|
849 |
);
|
445 |
);
|
446 |
|
447 |
// Field option choices inputs
|
448 |
+
$option_choices = sprintf( '<ul class="choices-list" data-next-id="%s" data-field-id="%d" data-field-type="%s">', max( array_keys( $values ) ) +1, $field['id'], $this->type );
|
449 |
foreach ( $values as $key => $value ) {
|
450 |
$default = ! empty( $value['default'] ) ? $value['default'] : '';
|
451 |
$placeholder = wpforms_format_amount( 0 );
|
842 |
}
|
843 |
|
844 |
printf(
|
845 |
+
'<label for="%s" class="wpforms-field-sublabel %s %s">%s</label>',
|
846 |
esc_attr( $field['properties']['inputs'][ $key ]['id'] ),
|
847 |
+
sanitize_html_class( $pos ),
|
848 |
$hidden,
|
849 |
$field['properties']['inputs'][ $key ]['sublabel']['value']
|
850 |
);
|
includes/fields/class-email.php
CHANGED
@@ -82,8 +82,7 @@ class WPForms_Field_Email extends WPForms_Field {
|
|
82 |
'wpforms-field-email-secondary'
|
83 |
),
|
84 |
'data' => array(
|
85 |
-
'rule-confirm
|
86 |
-
'rule-confirm' => '#' . $properties['inputs']['primary']['id'],
|
87 |
),
|
88 |
'id' => "wpforms-{$form_id}-field_{$field_id}-secondary",
|
89 |
'required' => ! empty( $field['required'] ) ? 'required' : '',
|
82 |
'wpforms-field-email-secondary'
|
83 |
),
|
84 |
'data' => array(
|
85 |
+
'rule-confirm' => '#' . $properties['inputs']['primary']['id'],
|
|
|
86 |
),
|
87 |
'id' => "wpforms-{$form_id}-field_{$field_id}-secondary",
|
88 |
'required' => ! empty( $field['required'] ) ? 'required' : '',
|
includes/fields/class-name.php
CHANGED
@@ -81,7 +81,6 @@ class WPForms_Field_Name extends WPForms_Field {
|
|
81 |
'hidden' => ! empty( $field['sublabel_hide'] ),
|
82 |
'value' => __( 'First', 'wpforms' ),
|
83 |
),
|
84 |
-
'value' => '',
|
85 |
),
|
86 |
'middle' => array(
|
87 |
'attr' => array(
|
@@ -102,7 +101,6 @@ class WPForms_Field_Name extends WPForms_Field {
|
|
102 |
'hidden' => ! empty( $field['sublabel_hide'] ),
|
103 |
'value' => __( 'Middle', 'wpforms' ),
|
104 |
),
|
105 |
-
'value' => '',
|
106 |
),
|
107 |
'last' => array(
|
108 |
'attr' => array(
|
@@ -124,7 +122,6 @@ class WPForms_Field_Name extends WPForms_Field {
|
|
124 |
'hidden' => ! empty( $field['sublabel_hide'] ),
|
125 |
'value' => __( 'Last', 'wpforms' ),
|
126 |
),
|
127 |
-
'value' => '',
|
128 |
),
|
129 |
),
|
130 |
);
|
@@ -401,9 +398,10 @@ class WPForms_Field_Name extends WPForms_Field {
|
|
401 |
*
|
402 |
* @since 1.0.0
|
403 |
* @param array $field
|
|
|
404 |
* @param array $form_data
|
405 |
*/
|
406 |
-
public function field_display( $field, $
|
407 |
|
408 |
// Define data.
|
409 |
$form_id = absint( $form_data['id'] );
|
81 |
'hidden' => ! empty( $field['sublabel_hide'] ),
|
82 |
'value' => __( 'First', 'wpforms' ),
|
83 |
),
|
|
|
84 |
),
|
85 |
'middle' => array(
|
86 |
'attr' => array(
|
101 |
'hidden' => ! empty( $field['sublabel_hide'] ),
|
102 |
'value' => __( 'Middle', 'wpforms' ),
|
103 |
),
|
|
|
104 |
),
|
105 |
'last' => array(
|
106 |
'attr' => array(
|
122 |
'hidden' => ! empty( $field['sublabel_hide'] ),
|
123 |
'value' => __( 'Last', 'wpforms' ),
|
124 |
),
|
|
|
125 |
),
|
126 |
),
|
127 |
);
|
398 |
*
|
399 |
* @since 1.0.0
|
400 |
* @param array $field
|
401 |
+
* @param array $deprecated
|
402 |
* @param array $form_data
|
403 |
*/
|
404 |
+
public function field_display( $field, $deprecated, $form_data ) {
|
405 |
|
406 |
// Define data.
|
407 |
$form_id = absint( $form_data['id'] );
|
includes/functions.php
CHANGED
@@ -346,13 +346,11 @@ function wpforms_html_attributes( $id = '', $class = array(), $datas = array(),
|
|
346 |
*/
|
347 |
function wpforms_sanitize_classes( $classes, $convert = false ) {
|
348 |
|
349 |
-
$array =
|
350 |
$css = array();
|
351 |
|
352 |
if ( ! empty( $classes ) ) {
|
353 |
-
if (
|
354 |
-
$array = true;
|
355 |
-
} else {
|
356 |
$classes = explode( ' ', trim( $classes ) );
|
357 |
}
|
358 |
foreach ( $classes as $class ) {
|
346 |
*/
|
347 |
function wpforms_sanitize_classes( $classes, $convert = false ) {
|
348 |
|
349 |
+
$array = is_array( $classes );
|
350 |
$css = array();
|
351 |
|
352 |
if ( ! empty( $classes ) ) {
|
353 |
+
if ( ! $array ) {
|
|
|
|
|
354 |
$classes = explode( ' ', trim( $classes ) );
|
355 |
}
|
356 |
foreach ( $classes as $class ) {
|
languages/wpforms.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the WPForms package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WPForms 1.3.7.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wpforms\n"
|
7 |
-
"POT-Creation-Date: 2017-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -93,7 +93,8 @@ msgstr ""
|
|
93 |
#: pro/includes/fields/class-date-time.php:232
|
94 |
#: pro/includes/fields/class-date-time.php:433
|
95 |
#: pro/includes/fields/class-date-time.php:490
|
96 |
-
#: pro/includes/fields/class-payment-credit-card.php:
|
|
|
97 |
msgid "MM"
|
98 |
msgstr ""
|
99 |
|
@@ -277,8 +278,8 @@ msgid "Other"
|
|
277 |
msgstr ""
|
278 |
|
279 |
#: includes/admin/builder/class-builder.php:328
|
280 |
-
#: pro/includes/fields/class-page-break.php:
|
281 |
-
#: pro/includes/fields/class-page-break.php:
|
282 |
msgid "Previous"
|
283 |
msgstr ""
|
284 |
|
@@ -665,9 +666,9 @@ msgid ""
|
|
665 |
"a>?"
|
666 |
msgstr ""
|
667 |
|
668 |
-
#. #-#-#-#-# wpforms.pot (WPForms 1.3.7.
|
669 |
#. Plugin Name of the plugin/theme
|
670 |
-
#. #-#-#-#-# wpforms.pot (WPForms 1.3.7.
|
671 |
#. Author of the plugin/theme
|
672 |
#: includes/admin/class-menu.php:36 includes/admin/class-menu.php:37
|
673 |
#: includes/admin/class-menu.php:48 includes/admin/class-menu.php:90
|
@@ -775,7 +776,7 @@ msgid "See all Features"
|
|
775 |
msgstr ""
|
776 |
|
777 |
#: includes/admin/overview/class-overview-table.php:53
|
778 |
-
#: includes/fields/class-name.php:21 includes/fields/class-name.php:
|
779 |
#: includes/templates/class-contact.php:32
|
780 |
#: includes/templates/class-subscribe.php:35
|
781 |
#: includes/templates/class-suggestion.php:32
|
@@ -863,56 +864,57 @@ msgstr ""
|
|
863 |
msgid "Forms Overview"
|
864 |
msgstr ""
|
865 |
|
866 |
-
#: includes/class-frontend.php:
|
867 |
#: pro/includes/admin/class-settings.php:447
|
868 |
msgid "This field is required."
|
869 |
msgstr ""
|
870 |
|
871 |
-
#: includes/class-frontend.php:
|
872 |
#: pro/includes/admin/class-settings.php:455
|
873 |
msgid "Please enter a valid URL."
|
874 |
msgstr ""
|
875 |
|
876 |
-
#: includes/class-frontend.php:
|
877 |
#: pro/includes/admin/class-settings.php:463
|
878 |
msgid "Please enter a valid email address."
|
879 |
msgstr ""
|
880 |
|
881 |
-
#: includes/class-frontend.php:
|
882 |
#: lite/includes/admin/class-settings.php:396
|
883 |
#: pro/includes/admin/class-settings.php:471
|
884 |
msgid "Please enter a valid number."
|
885 |
msgstr ""
|
886 |
|
887 |
-
#: includes/class-frontend.php:
|
888 |
#: pro/includes/admin/class-settings.php:479
|
|
|
889 |
msgid "Field values do not match."
|
890 |
msgstr ""
|
891 |
|
892 |
-
#: includes/class-frontend.php:
|
893 |
#: pro/includes/fields/class-file-upload.php:365
|
894 |
#: pro/includes/fields/class-file-upload.php:381
|
895 |
#: pro/includes/fields/class-file-upload.php:398
|
896 |
msgid "File type is not allowed."
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: includes/class-frontend.php:
|
900 |
msgid "File exceeds max size allowed."
|
901 |
msgstr ""
|
902 |
|
903 |
-
#: includes/class-frontend.php:
|
904 |
msgid "Please enter time in 12-hour AM/PM format (eg 8:45 AM)."
|
905 |
msgstr ""
|
906 |
|
907 |
-
#: includes/class-frontend.php:
|
908 |
msgid "Please enter time in 24-hour format (eg 22:45)."
|
909 |
msgstr ""
|
910 |
|
911 |
-
#: includes/class-frontend.php:
|
912 |
msgid "Payment is required."
|
913 |
msgstr ""
|
914 |
|
915 |
-
#: includes/class-frontend.php:
|
916 |
msgid "Please enter a valid credit card number."
|
917 |
msgstr ""
|
918 |
|
@@ -1021,7 +1023,7 @@ msgid "Embedded Post/Page ID"
|
|
1021 |
msgstr ""
|
1022 |
|
1023 |
#: includes/class-smart-tags.php:40
|
1024 |
-
#: pro/includes/admin/entries/class-entries-export.php:
|
1025 |
#: pro/includes/admin/entries/class-entries-table.php:136
|
1026 |
#: pro/includes/fields/class-date-time.php:69
|
1027 |
#: pro/includes/fields/class-date-time.php:117
|
@@ -1175,9 +1177,9 @@ msgstr ""
|
|
1175 |
msgid "Enter text for the default form field value."
|
1176 |
msgstr ""
|
1177 |
|
1178 |
-
#: includes/fields/class-base.php:485 includes/fields/class-name.php:
|
1179 |
-
#: includes/fields/class-name.php:
|
1180 |
-
#: includes/fields/class-name.php:
|
1181 |
#: pro/includes/fields/class-address.php:133
|
1182 |
#: pro/includes/fields/class-address.php:151
|
1183 |
#: pro/includes/fields/class-address.php:166
|
@@ -1296,14 +1298,12 @@ msgstr ""
|
|
1296 |
msgid "No field type found"
|
1297 |
msgstr ""
|
1298 |
|
1299 |
-
#: includes/fields/class-base.php:
|
1300 |
#: includes/fields/class-number.php:152
|
1301 |
#: pro/includes/fields/class-address.php:624
|
1302 |
#: pro/includes/fields/class-date-time.php:532
|
1303 |
#: pro/includes/fields/class-file-upload.php:330
|
1304 |
-
#: pro/includes/fields/class-password.php:
|
1305 |
-
#: pro/includes/fields/class-password.php:304
|
1306 |
-
#: pro/includes/fields/class-password.php:309
|
1307 |
#: pro/includes/fields/class-payment-dropdown.php:208
|
1308 |
#: pro/includes/fields/class-payment-multiple.php:175
|
1309 |
#: pro/includes/fields/class-payment-single.php:189
|
@@ -1346,7 +1346,7 @@ msgid ""
|
|
1346 |
msgstr ""
|
1347 |
|
1348 |
#: includes/fields/class-email.php:21 includes/fields/class-email.php:68
|
1349 |
-
#: includes/fields/class-email.php:
|
1350 |
#: includes/templates/class-subscribe.php:42
|
1351 |
#: lite/includes/admin/class-settings.php:262
|
1352 |
#: lite/includes/admin/class-settings.php:385
|
@@ -1358,77 +1358,75 @@ msgstr ""
|
|
1358 |
msgid "Email"
|
1359 |
msgstr ""
|
1360 |
|
1361 |
-
#: includes/fields/class-email.php:
|
1362 |
-
msgid "Email does not match."
|
1363 |
-
msgstr ""
|
1364 |
-
|
1365 |
-
#: includes/fields/class-email.php:92 includes/fields/class-email.php:312
|
1366 |
msgid "Confirm Email"
|
1367 |
msgstr ""
|
1368 |
|
1369 |
-
#: includes/fields/class-email.php:
|
|
|
1370 |
msgid "Enable Email Confirmation"
|
1371 |
msgstr ""
|
1372 |
|
1373 |
-
#: includes/fields/class-email.php:
|
|
|
1374 |
msgid "Check this option ask the user to provide their email address twice."
|
1375 |
msgstr ""
|
1376 |
|
1377 |
-
#: includes/fields/class-email.php:
|
1378 |
-
#: pro/includes/fields/class-password.php:
|
1379 |
msgid "Confirmation Placeholder Text"
|
1380 |
msgstr ""
|
1381 |
|
1382 |
-
#: includes/fields/class-email.php:
|
1383 |
-
#: pro/includes/fields/class-password.php:
|
1384 |
msgid "Enter text for the confirmation field placeholder."
|
1385 |
msgstr ""
|
1386 |
|
1387 |
-
#: includes/fields/class-name.php:82 includes/fields/class-name.php:
|
1388 |
#: includes/providers/class-base.php:452
|
1389 |
msgid "First"
|
1390 |
msgstr ""
|
1391 |
|
1392 |
-
#: includes/fields/class-name.php:
|
1393 |
#: includes/providers/class-base.php:464
|
1394 |
msgid "Middle"
|
1395 |
msgstr ""
|
1396 |
|
1397 |
-
#: includes/fields/class-name.php:
|
1398 |
#: includes/providers/class-base.php:476
|
1399 |
msgid "Last"
|
1400 |
msgstr ""
|
1401 |
|
1402 |
-
#: includes/fields/class-name.php:
|
1403 |
#: pro/includes/fields/class-date-time.php:56
|
1404 |
#: pro/includes/fields/class-date-time.php:132
|
1405 |
#: pro/includes/fields/class-date-time.php:168
|
1406 |
-
#: pro/includes/fields/class-phone.php:
|
1407 |
msgid "Format"
|
1408 |
msgstr ""
|
1409 |
|
1410 |
-
#: includes/fields/class-name.php:
|
1411 |
msgid "Select format to use for the name form field"
|
1412 |
msgstr ""
|
1413 |
|
1414 |
-
#: includes/fields/class-name.php:
|
1415 |
msgid "Simple"
|
1416 |
msgstr ""
|
1417 |
|
1418 |
-
#: includes/fields/class-name.php:
|
1419 |
msgid "First Last"
|
1420 |
msgstr ""
|
1421 |
|
1422 |
-
#: includes/fields/class-name.php:
|
1423 |
msgid "First Middle Last"
|
1424 |
msgstr ""
|
1425 |
|
1426 |
-
#: includes/fields/class-name.php:
|
1427 |
msgid "Name field advanced options."
|
1428 |
msgstr ""
|
1429 |
|
1430 |
-
#: includes/fields/class-name.php:
|
1431 |
-
#: includes/fields/class-name.php:
|
1432 |
#: pro/includes/fields/class-address.php:113
|
1433 |
#: pro/includes/fields/class-address.php:129
|
1434 |
#: pro/includes/fields/class-address.php:147
|
@@ -1440,27 +1438,27 @@ msgstr ""
|
|
1440 |
msgid "Placeholder"
|
1441 |
msgstr ""
|
1442 |
|
1443 |
-
#: includes/fields/class-name.php:
|
1444 |
msgid "First Name"
|
1445 |
msgstr ""
|
1446 |
|
1447 |
-
#: includes/fields/class-name.php:
|
1448 |
msgid "First name field advanced options."
|
1449 |
msgstr ""
|
1450 |
|
1451 |
-
#: includes/fields/class-name.php:
|
1452 |
msgid "Middle Name"
|
1453 |
msgstr ""
|
1454 |
|
1455 |
-
#: includes/fields/class-name.php:
|
1456 |
msgid "Middle name field advanced options."
|
1457 |
msgstr ""
|
1458 |
|
1459 |
-
#: includes/fields/class-name.php:
|
1460 |
msgid "Last Name"
|
1461 |
msgstr ""
|
1462 |
|
1463 |
-
#: includes/fields/class-name.php:
|
1464 |
msgid "Last name field advanced options."
|
1465 |
msgstr ""
|
1466 |
|
@@ -2074,7 +2072,7 @@ msgstr ""
|
|
2074 |
|
2075 |
#: lite/includes/admin/class-settings.php:245
|
2076 |
#: pro/includes/admin/class-settings.php:320
|
2077 |
-
#: pro/includes/fields/class-page-break.php:
|
2078 |
msgid "None"
|
2079 |
msgstr ""
|
2080 |
|
@@ -2620,19 +2618,19 @@ msgid "Please upload a valid .json form export file."
|
|
2620 |
msgstr ""
|
2621 |
|
2622 |
#: pro/includes/admin/class-settings.php:788
|
2623 |
-
#: pro/includes/admin/entries/class-entries-export.php:
|
2624 |
msgid "Error"
|
2625 |
msgstr ""
|
2626 |
|
2627 |
-
#: pro/includes/admin/entries/class-entries-export.php:
|
2628 |
msgid "Date GMT"
|
2629 |
msgstr ""
|
2630 |
|
2631 |
-
#: pro/includes/admin/entries/class-entries-export.php:
|
2632 |
msgid "ID"
|
2633 |
msgstr ""
|
2634 |
|
2635 |
-
#: pro/includes/admin/entries/class-entries-export.php:
|
2636 |
msgid "You do not have permission to export entries."
|
2637 |
msgstr ""
|
2638 |
|
@@ -3202,181 +3200,166 @@ msgid "Contents of this field are not displayed in the admin area."
|
|
3202 |
msgstr ""
|
3203 |
|
3204 |
#: pro/includes/fields/class-page-break.php:21
|
3205 |
-
#: pro/includes/fields/class-page-break.php:
|
3206 |
msgid "Page Break"
|
3207 |
msgstr ""
|
3208 |
|
3209 |
-
#: pro/includes/fields/class-page-break.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3210 |
msgid "Progress Bar"
|
3211 |
msgstr ""
|
3212 |
|
3213 |
-
#: pro/includes/fields/class-page-break.php:
|
3214 |
msgid "Circles"
|
3215 |
msgstr ""
|
3216 |
|
3217 |
-
#: pro/includes/fields/class-page-break.php:
|
3218 |
msgid "Connector"
|
3219 |
msgstr ""
|
3220 |
|
3221 |
-
#: pro/includes/fields/class-page-break.php:
|
3222 |
msgid "Progress Indicator"
|
3223 |
msgstr ""
|
3224 |
|
3225 |
-
#: pro/includes/fields/class-page-break.php:
|
3226 |
msgid ""
|
3227 |
"Select theme for Page Indicator which is displayed at the top of the form."
|
3228 |
msgstr ""
|
3229 |
|
3230 |
-
#: pro/includes/fields/class-page-break.php:
|
3231 |
msgid "Page Indicator Color"
|
3232 |
msgstr ""
|
3233 |
|
3234 |
-
#: pro/includes/fields/class-page-break.php:
|
3235 |
msgid "Select the primary color for the Page Indicator theme."
|
3236 |
msgstr ""
|
3237 |
|
3238 |
-
#: pro/includes/fields/class-page-break.php:
|
3239 |
msgid "Page Title"
|
3240 |
msgstr ""
|
3241 |
|
3242 |
-
#: pro/includes/fields/class-page-break.php:
|
3243 |
msgid "Enter text for the page title."
|
3244 |
msgstr ""
|
3245 |
|
3246 |
-
#: pro/includes/fields/class-page-break.php:
|
3247 |
msgid "Next Label"
|
3248 |
msgstr ""
|
3249 |
|
3250 |
-
#: pro/includes/fields/class-page-break.php:
|
3251 |
msgid "Enter text for Next page navigation button."
|
3252 |
msgstr ""
|
3253 |
|
3254 |
-
#: pro/includes/fields/class-page-break.php:
|
3255 |
-
#: pro/includes/fields/class-page-break.php:
|
3256 |
msgid "Next"
|
3257 |
msgstr ""
|
3258 |
|
3259 |
-
#: pro/includes/fields/class-page-break.php:
|
3260 |
msgid "Display Previous"
|
3261 |
msgstr ""
|
3262 |
|
3263 |
-
#: pro/includes/fields/class-page-break.php:
|
3264 |
msgid "Toggle displaying the Previous page navigation button."
|
3265 |
msgstr ""
|
3266 |
|
3267 |
-
#: pro/includes/fields/class-page-break.php:
|
3268 |
msgid "Previous Label"
|
3269 |
msgstr ""
|
3270 |
|
3271 |
-
#: pro/includes/fields/class-page-break.php:
|
3272 |
msgid "Enter text for Previous page navigation button."
|
3273 |
msgstr ""
|
3274 |
|
3275 |
-
#: pro/includes/fields/class-page-break.php:
|
3276 |
msgid "Page Navigation Alignment"
|
3277 |
msgstr ""
|
3278 |
|
3279 |
-
#: pro/includes/fields/class-page-break.php:
|
3280 |
msgid "Select the alignment for the Next/Previous page navigation buttons"
|
3281 |
msgstr ""
|
3282 |
|
3283 |
-
#: pro/includes/fields/class-page-break.php:
|
3284 |
msgid "Left"
|
3285 |
msgstr ""
|
3286 |
|
3287 |
-
#: pro/includes/fields/class-page-break.php:
|
3288 |
msgid "Right"
|
3289 |
msgstr ""
|
3290 |
|
3291 |
-
#: pro/includes/fields/class-page-break.php:
|
3292 |
msgid "Center"
|
3293 |
msgstr ""
|
3294 |
|
3295 |
-
#: pro/includes/fields/class-page-break.php:
|
3296 |
msgid "Split"
|
3297 |
msgstr ""
|
3298 |
|
3299 |
-
#: pro/includes/fields/class-page-break.php:
|
3300 |
msgid "First Page"
|
3301 |
msgstr ""
|
3302 |
|
3303 |
-
#: pro/includes/fields/class-page-break.php:525
|
3304 |
-
msgid "Step"
|
3305 |
-
msgstr ""
|
3306 |
-
|
3307 |
-
#: pro/includes/fields/class-page-break.php:526
|
3308 |
-
msgid "of"
|
3309 |
-
msgstr ""
|
3310 |
-
|
3311 |
#: pro/includes/fields/class-password.php:21
|
3312 |
-
#: pro/includes/fields/class-password.php:
|
3313 |
-
#: pro/includes/fields/class-password.php:
|
3314 |
msgid "Password"
|
3315 |
msgstr ""
|
3316 |
|
3317 |
-
#: pro/includes/fields/class-password.php:
|
3318 |
-
|
|
|
3319 |
msgstr ""
|
3320 |
|
3321 |
-
#: pro/includes/fields/class-
|
3322 |
-
|
|
|
3323 |
msgstr ""
|
3324 |
|
3325 |
-
#: pro/includes/fields/class-
|
3326 |
-
#: pro/includes/fields/class-
|
3327 |
-
msgid "
|
3328 |
msgstr ""
|
3329 |
|
3330 |
-
#: pro/includes/fields/class-
|
3331 |
-
|
|
|
3332 |
msgstr ""
|
3333 |
|
3334 |
-
#: pro/includes/fields/class-
|
3335 |
-
|
|
|
3336 |
msgstr ""
|
3337 |
|
3338 |
-
#: pro/includes/fields/class-payment-credit-card.php:
|
3339 |
msgid "Card Number Placeholder Text"
|
3340 |
msgstr ""
|
3341 |
|
3342 |
-
#: pro/includes/fields/class-payment-credit-card.php:
|
3343 |
msgid "Security Code Placeholder Text"
|
3344 |
msgstr ""
|
3345 |
|
3346 |
-
#: pro/includes/fields/class-payment-credit-card.php:77
|
3347 |
-
msgid "Name on Card Placeholder Text"
|
3348 |
-
msgstr ""
|
3349 |
-
|
3350 |
-
#: pro/includes/fields/class-payment-credit-card.php:109
|
3351 |
-
#: pro/includes/fields/class-payment-credit-card.php:185
|
3352 |
-
msgid "Card Number"
|
3353 |
-
msgstr ""
|
3354 |
-
|
3355 |
-
#: pro/includes/fields/class-payment-credit-card.php:114
|
3356 |
-
#: pro/includes/fields/class-payment-credit-card.php:207
|
3357 |
-
msgid "Security Code"
|
3358 |
-
msgstr ""
|
3359 |
-
|
3360 |
-
#: pro/includes/fields/class-payment-credit-card.php:123
|
3361 |
#: pro/includes/fields/class-payment-credit-card.php:234
|
3362 |
-
msgid "Name on Card"
|
3363 |
msgstr ""
|
3364 |
|
3365 |
-
#: pro/includes/fields/class-payment-credit-card.php:
|
3366 |
-
#: pro/includes/fields/class-payment-credit-card.php:
|
3367 |
-
msgid "
|
3368 |
msgstr ""
|
3369 |
|
3370 |
-
#: pro/includes/fields/class-payment-credit-card.php:
|
3371 |
msgid ""
|
3372 |
"This page is insecure. Credit Card field should be used for testing purposes "
|
3373 |
"only."
|
3374 |
msgstr ""
|
3375 |
|
3376 |
-
#: pro/includes/fields/class-payment-credit-card.php:284
|
3377 |
-
msgid "YY"
|
3378 |
-
msgstr ""
|
3379 |
-
|
3380 |
#: pro/includes/fields/class-payment-dropdown.php:21
|
3381 |
msgid "Dropdown Items"
|
3382 |
msgstr ""
|
@@ -3462,7 +3445,7 @@ msgstr ""
|
|
3462 |
msgid "Phone"
|
3463 |
msgstr ""
|
3464 |
|
3465 |
-
#: pro/includes/fields/class-phone.php:
|
3466 |
msgid "Select format for the phone form field"
|
3467 |
msgstr ""
|
3468 |
|
@@ -3662,9 +3645,9 @@ msgstr ""
|
|
3662 |
msgid "Please deactivate WPForms Lite before activating WPForms"
|
3663 |
msgstr ""
|
3664 |
|
3665 |
-
#. #-#-#-#-# wpforms.pot (WPForms 1.3.7.
|
3666 |
#. Plugin URI of the plugin/theme
|
3667 |
-
#. #-#-#-#-# wpforms.pot (WPForms 1.3.7.
|
3668 |
#. Author URI of the plugin/theme
|
3669 |
msgid "https://wpforms.com"
|
3670 |
msgstr ""
|
2 |
# This file is distributed under the same license as the WPForms package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WPForms 1.3.7.3\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wpforms\n"
|
7 |
+
"POT-Creation-Date: 2017-05-12 15:58:52+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
93 |
#: pro/includes/fields/class-date-time.php:232
|
94 |
#: pro/includes/fields/class-date-time.php:433
|
95 |
#: pro/includes/fields/class-date-time.php:490
|
96 |
+
#: pro/includes/fields/class-payment-credit-card.php:296
|
97 |
+
#: pro/includes/fields/class-payment-credit-card.php:386
|
98 |
msgid "MM"
|
99 |
msgstr ""
|
100 |
|
278 |
msgstr ""
|
279 |
|
280 |
#: includes/admin/builder/class-builder.php:328
|
281 |
+
#: pro/includes/fields/class-page-break.php:186
|
282 |
+
#: pro/includes/fields/class-page-break.php:517
|
283 |
msgid "Previous"
|
284 |
msgstr ""
|
285 |
|
666 |
"a>?"
|
667 |
msgstr ""
|
668 |
|
669 |
+
#. #-#-#-#-# wpforms.pot (WPForms 1.3.7.3) #-#-#-#-#
|
670 |
#. Plugin Name of the plugin/theme
|
671 |
+
#. #-#-#-#-# wpforms.pot (WPForms 1.3.7.3) #-#-#-#-#
|
672 |
#. Author of the plugin/theme
|
673 |
#: includes/admin/class-menu.php:36 includes/admin/class-menu.php:37
|
674 |
#: includes/admin/class-menu.php:48 includes/admin/class-menu.php:90
|
776 |
msgstr ""
|
777 |
|
778 |
#: includes/admin/overview/class-overview-table.php:53
|
779 |
+
#: includes/fields/class-name.php:21 includes/fields/class-name.php:275
|
780 |
#: includes/templates/class-contact.php:32
|
781 |
#: includes/templates/class-subscribe.php:35
|
782 |
#: includes/templates/class-suggestion.php:32
|
864 |
msgid "Forms Overview"
|
865 |
msgstr ""
|
866 |
|
867 |
+
#: includes/class-frontend.php:967 lite/includes/admin/class-settings.php:372
|
868 |
#: pro/includes/admin/class-settings.php:447
|
869 |
msgid "This field is required."
|
870 |
msgstr ""
|
871 |
|
872 |
+
#: includes/class-frontend.php:968 lite/includes/admin/class-settings.php:380
|
873 |
#: pro/includes/admin/class-settings.php:455
|
874 |
msgid "Please enter a valid URL."
|
875 |
msgstr ""
|
876 |
|
877 |
+
#: includes/class-frontend.php:969 lite/includes/admin/class-settings.php:388
|
878 |
#: pro/includes/admin/class-settings.php:463
|
879 |
msgid "Please enter a valid email address."
|
880 |
msgstr ""
|
881 |
|
882 |
+
#: includes/class-frontend.php:970 includes/fields/class-number.php:157
|
883 |
#: lite/includes/admin/class-settings.php:396
|
884 |
#: pro/includes/admin/class-settings.php:471
|
885 |
msgid "Please enter a valid number."
|
886 |
msgstr ""
|
887 |
|
888 |
+
#: includes/class-frontend.php:971 lite/includes/admin/class-settings.php:404
|
889 |
#: pro/includes/admin/class-settings.php:479
|
890 |
+
#: pro/includes/fields/class-password.php:394
|
891 |
msgid "Field values do not match."
|
892 |
msgstr ""
|
893 |
|
894 |
+
#: includes/class-frontend.php:972 pro/includes/admin/class-settings.php:487
|
895 |
#: pro/includes/fields/class-file-upload.php:365
|
896 |
#: pro/includes/fields/class-file-upload.php:381
|
897 |
#: pro/includes/fields/class-file-upload.php:398
|
898 |
msgid "File type is not allowed."
|
899 |
msgstr ""
|
900 |
|
901 |
+
#: includes/class-frontend.php:973 pro/includes/admin/class-settings.php:495
|
902 |
msgid "File exceeds max size allowed."
|
903 |
msgstr ""
|
904 |
|
905 |
+
#: includes/class-frontend.php:974 pro/includes/admin/class-settings.php:503
|
906 |
msgid "Please enter time in 12-hour AM/PM format (eg 8:45 AM)."
|
907 |
msgstr ""
|
908 |
|
909 |
+
#: includes/class-frontend.php:975 pro/includes/admin/class-settings.php:511
|
910 |
msgid "Please enter time in 24-hour format (eg 22:45)."
|
911 |
msgstr ""
|
912 |
|
913 |
+
#: includes/class-frontend.php:976 pro/includes/admin/class-settings.php:519
|
914 |
msgid "Payment is required."
|
915 |
msgstr ""
|
916 |
|
917 |
+
#: includes/class-frontend.php:977 pro/includes/admin/class-settings.php:527
|
918 |
msgid "Please enter a valid credit card number."
|
919 |
msgstr ""
|
920 |
|
1023 |
msgstr ""
|
1024 |
|
1025 |
#: includes/class-smart-tags.php:40
|
1026 |
+
#: pro/includes/admin/entries/class-entries-export.php:178
|
1027 |
#: pro/includes/admin/entries/class-entries-table.php:136
|
1028 |
#: pro/includes/fields/class-date-time.php:69
|
1029 |
#: pro/includes/fields/class-date-time.php:117
|
1177 |
msgid "Enter text for the default form field value."
|
1178 |
msgstr ""
|
1179 |
|
1180 |
+
#: includes/fields/class-base.php:485 includes/fields/class-name.php:282
|
1181 |
+
#: includes/fields/class-name.php:297 includes/fields/class-name.php:312
|
1182 |
+
#: includes/fields/class-name.php:327 pro/includes/fields/class-address.php:117
|
1183 |
#: pro/includes/fields/class-address.php:133
|
1184 |
#: pro/includes/fields/class-address.php:151
|
1185 |
#: pro/includes/fields/class-address.php:166
|
1298 |
msgid "No field type found"
|
1299 |
msgstr ""
|
1300 |
|
1301 |
+
#: includes/fields/class-base.php:865 includes/fields/class-name.php:483
|
1302 |
#: includes/fields/class-number.php:152
|
1303 |
#: pro/includes/fields/class-address.php:624
|
1304 |
#: pro/includes/fields/class-date-time.php:532
|
1305 |
#: pro/includes/fields/class-file-upload.php:330
|
1306 |
+
#: pro/includes/fields/class-password.php:371
|
|
|
|
|
1307 |
#: pro/includes/fields/class-payment-dropdown.php:208
|
1308 |
#: pro/includes/fields/class-payment-multiple.php:175
|
1309 |
#: pro/includes/fields/class-payment-single.php:189
|
1346 |
msgstr ""
|
1347 |
|
1348 |
#: includes/fields/class-email.php:21 includes/fields/class-email.php:68
|
1349 |
+
#: includes/fields/class-email.php:306
|
1350 |
#: includes/templates/class-subscribe.php:42
|
1351 |
#: lite/includes/admin/class-settings.php:262
|
1352 |
#: lite/includes/admin/class-settings.php:385
|
1358 |
msgid "Email"
|
1359 |
msgstr ""
|
1360 |
|
1361 |
+
#: includes/fields/class-email.php:91 includes/fields/class-email.php:311
|
|
|
|
|
|
|
|
|
1362 |
msgid "Confirm Email"
|
1363 |
msgstr ""
|
1364 |
|
1365 |
+
#: includes/fields/class-email.php:207
|
1366 |
+
#: pro/includes/fields/class-password.php:188
|
1367 |
msgid "Enable Email Confirmation"
|
1368 |
msgstr ""
|
1369 |
|
1370 |
+
#: includes/fields/class-email.php:208
|
1371 |
+
#: pro/includes/fields/class-password.php:189
|
1372 |
msgid "Check this option ask the user to provide their email address twice."
|
1373 |
msgstr ""
|
1374 |
|
1375 |
+
#: includes/fields/class-email.php:246
|
1376 |
+
#: pro/includes/fields/class-password.php:227
|
1377 |
msgid "Confirmation Placeholder Text"
|
1378 |
msgstr ""
|
1379 |
|
1380 |
+
#: includes/fields/class-email.php:247
|
1381 |
+
#: pro/includes/fields/class-password.php:228
|
1382 |
msgid "Enter text for the confirmation field placeholder."
|
1383 |
msgstr ""
|
1384 |
|
1385 |
+
#: includes/fields/class-name.php:82 includes/fields/class-name.php:376
|
1386 |
#: includes/providers/class-base.php:452
|
1387 |
msgid "First"
|
1388 |
msgstr ""
|
1389 |
|
1390 |
+
#: includes/fields/class-name.php:102 includes/fields/class-name.php:381
|
1391 |
#: includes/providers/class-base.php:464
|
1392 |
msgid "Middle"
|
1393 |
msgstr ""
|
1394 |
|
1395 |
+
#: includes/fields/class-name.php:123 includes/fields/class-name.php:386
|
1396 |
#: includes/providers/class-base.php:476
|
1397 |
msgid "Last"
|
1398 |
msgstr ""
|
1399 |
|
1400 |
+
#: includes/fields/class-name.php:219
|
1401 |
#: pro/includes/fields/class-date-time.php:56
|
1402 |
#: pro/includes/fields/class-date-time.php:132
|
1403 |
#: pro/includes/fields/class-date-time.php:168
|
1404 |
+
#: pro/includes/fields/class-phone.php:78
|
1405 |
msgid "Format"
|
1406 |
msgstr ""
|
1407 |
|
1408 |
+
#: includes/fields/class-name.php:220
|
1409 |
msgid "Select format to use for the name form field"
|
1410 |
msgstr ""
|
1411 |
|
1412 |
+
#: includes/fields/class-name.php:231
|
1413 |
msgid "Simple"
|
1414 |
msgstr ""
|
1415 |
|
1416 |
+
#: includes/fields/class-name.php:232
|
1417 |
msgid "First Last"
|
1418 |
msgstr ""
|
1419 |
|
1420 |
+
#: includes/fields/class-name.php:233
|
1421 |
msgid "First Middle Last"
|
1422 |
msgstr ""
|
1423 |
|
1424 |
+
#: includes/fields/class-name.php:275
|
1425 |
msgid "Name field advanced options."
|
1426 |
msgstr ""
|
1427 |
|
1428 |
+
#: includes/fields/class-name.php:278 includes/fields/class-name.php:293
|
1429 |
+
#: includes/fields/class-name.php:308 includes/fields/class-name.php:323
|
1430 |
#: pro/includes/fields/class-address.php:113
|
1431 |
#: pro/includes/fields/class-address.php:129
|
1432 |
#: pro/includes/fields/class-address.php:147
|
1438 |
msgid "Placeholder"
|
1439 |
msgstr ""
|
1440 |
|
1441 |
+
#: includes/fields/class-name.php:290
|
1442 |
msgid "First Name"
|
1443 |
msgstr ""
|
1444 |
|
1445 |
+
#: includes/fields/class-name.php:290
|
1446 |
msgid "First name field advanced options."
|
1447 |
msgstr ""
|
1448 |
|
1449 |
+
#: includes/fields/class-name.php:305
|
1450 |
msgid "Middle Name"
|
1451 |
msgstr ""
|
1452 |
|
1453 |
+
#: includes/fields/class-name.php:305
|
1454 |
msgid "Middle name field advanced options."
|
1455 |
msgstr ""
|
1456 |
|
1457 |
+
#: includes/fields/class-name.php:320
|
1458 |
msgid "Last Name"
|
1459 |
msgstr ""
|
1460 |
|
1461 |
+
#: includes/fields/class-name.php:320
|
1462 |
msgid "Last name field advanced options."
|
1463 |
msgstr ""
|
1464 |
|
2072 |
|
2073 |
#: lite/includes/admin/class-settings.php:245
|
2074 |
#: pro/includes/admin/class-settings.php:320
|
2075 |
+
#: pro/includes/fields/class-page-break.php:274
|
2076 |
msgid "None"
|
2077 |
msgstr ""
|
2078 |
|
2618 |
msgstr ""
|
2619 |
|
2620 |
#: pro/includes/admin/class-settings.php:788
|
2621 |
+
#: pro/includes/admin/entries/class-entries-export.php:305
|
2622 |
msgid "Error"
|
2623 |
msgstr ""
|
2624 |
|
2625 |
+
#: pro/includes/admin/entries/class-entries-export.php:179
|
2626 |
msgid "Date GMT"
|
2627 |
msgstr ""
|
2628 |
|
2629 |
+
#: pro/includes/admin/entries/class-entries-export.php:180
|
2630 |
msgid "ID"
|
2631 |
msgstr ""
|
2632 |
|
2633 |
+
#: pro/includes/admin/entries/class-entries-export.php:305
|
2634 |
msgid "You do not have permission to export entries."
|
2635 |
msgstr ""
|
2636 |
|
3200 |
msgstr ""
|
3201 |
|
3202 |
#: pro/includes/fields/class-page-break.php:21
|
3203 |
+
#: pro/includes/fields/class-page-break.php:524
|
3204 |
msgid "Page Break"
|
3205 |
msgstr ""
|
3206 |
|
3207 |
+
#: pro/includes/fields/class-page-break.php:127
|
3208 |
+
msgid "Step"
|
3209 |
+
msgstr ""
|
3210 |
+
|
3211 |
+
#: pro/includes/fields/class-page-break.php:128
|
3212 |
+
msgid "of"
|
3213 |
+
msgstr ""
|
3214 |
+
|
3215 |
+
#: pro/includes/fields/class-page-break.php:271
|
3216 |
msgid "Progress Bar"
|
3217 |
msgstr ""
|
3218 |
|
3219 |
+
#: pro/includes/fields/class-page-break.php:272
|
3220 |
msgid "Circles"
|
3221 |
msgstr ""
|
3222 |
|
3223 |
+
#: pro/includes/fields/class-page-break.php:273
|
3224 |
msgid "Connector"
|
3225 |
msgstr ""
|
3226 |
|
3227 |
+
#: pro/includes/fields/class-page-break.php:281
|
3228 |
msgid "Progress Indicator"
|
3229 |
msgstr ""
|
3230 |
|
3231 |
+
#: pro/includes/fields/class-page-break.php:282
|
3232 |
msgid ""
|
3233 |
"Select theme for Page Indicator which is displayed at the top of the form."
|
3234 |
msgstr ""
|
3235 |
|
3236 |
+
#: pro/includes/fields/class-page-break.php:308
|
3237 |
msgid "Page Indicator Color"
|
3238 |
msgstr ""
|
3239 |
|
3240 |
+
#: pro/includes/fields/class-page-break.php:309
|
3241 |
msgid "Select the primary color for the Page Indicator theme."
|
3242 |
msgstr ""
|
3243 |
|
3244 |
+
#: pro/includes/fields/class-page-break.php:338
|
3245 |
msgid "Page Title"
|
3246 |
msgstr ""
|
3247 |
|
3248 |
+
#: pro/includes/fields/class-page-break.php:339
|
3249 |
msgid "Enter text for the page title."
|
3250 |
msgstr ""
|
3251 |
|
3252 |
+
#: pro/includes/fields/class-page-break.php:366
|
3253 |
msgid "Next Label"
|
3254 |
msgstr ""
|
3255 |
|
3256 |
+
#: pro/includes/fields/class-page-break.php:367
|
3257 |
msgid "Enter text for Next page navigation button."
|
3258 |
msgstr ""
|
3259 |
|
3260 |
+
#: pro/includes/fields/class-page-break.php:376
|
3261 |
+
#: pro/includes/fields/class-page-break.php:519
|
3262 |
msgid "Next"
|
3263 |
msgstr ""
|
3264 |
|
3265 |
+
#: pro/includes/fields/class-page-break.php:396
|
3266 |
msgid "Display Previous"
|
3267 |
msgstr ""
|
3268 |
|
3269 |
+
#: pro/includes/fields/class-page-break.php:397
|
3270 |
msgid "Toggle displaying the Previous page navigation button."
|
3271 |
msgstr ""
|
3272 |
|
3273 |
+
#: pro/includes/fields/class-page-break.php:422
|
3274 |
msgid "Previous Label"
|
3275 |
msgstr ""
|
3276 |
|
3277 |
+
#: pro/includes/fields/class-page-break.php:423
|
3278 |
msgid "Enter text for Previous page navigation button."
|
3279 |
msgstr ""
|
3280 |
|
3281 |
+
#: pro/includes/fields/class-page-break.php:471
|
3282 |
msgid "Page Navigation Alignment"
|
3283 |
msgstr ""
|
3284 |
|
3285 |
+
#: pro/includes/fields/class-page-break.php:472
|
3286 |
msgid "Select the alignment for the Next/Previous page navigation buttons"
|
3287 |
msgstr ""
|
3288 |
|
3289 |
+
#: pro/includes/fields/class-page-break.php:482
|
3290 |
msgid "Left"
|
3291 |
msgstr ""
|
3292 |
|
3293 |
+
#: pro/includes/fields/class-page-break.php:483
|
3294 |
msgid "Right"
|
3295 |
msgstr ""
|
3296 |
|
3297 |
+
#: pro/includes/fields/class-page-break.php:484
|
3298 |
msgid "Center"
|
3299 |
msgstr ""
|
3300 |
|
3301 |
+
#: pro/includes/fields/class-page-break.php:485
|
3302 |
msgid "Split"
|
3303 |
msgstr ""
|
3304 |
|
3305 |
+
#: pro/includes/fields/class-page-break.php:523
|
3306 |
msgid "First Page"
|
3307 |
msgstr ""
|
3308 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3309 |
#: pro/includes/fields/class-password.php:21
|
3310 |
+
#: pro/includes/fields/class-password.php:66
|
3311 |
+
#: pro/includes/fields/class-password.php:286
|
3312 |
msgid "Password"
|
3313 |
msgstr ""
|
3314 |
|
3315 |
+
#: pro/includes/fields/class-password.php:89
|
3316 |
+
#: pro/includes/fields/class-password.php:291
|
3317 |
+
msgid "Confirm Password"
|
3318 |
msgstr ""
|
3319 |
|
3320 |
+
#: pro/includes/fields/class-payment-credit-card.php:73
|
3321 |
+
#: pro/includes/fields/class-payment-credit-card.php:277
|
3322 |
+
msgid "Card Number"
|
3323 |
msgstr ""
|
3324 |
|
3325 |
+
#: pro/includes/fields/class-payment-credit-card.php:96
|
3326 |
+
#: pro/includes/fields/class-payment-credit-card.php:282
|
3327 |
+
msgid "Security Code"
|
3328 |
msgstr ""
|
3329 |
|
3330 |
+
#: pro/includes/fields/class-payment-credit-card.php:117
|
3331 |
+
#: pro/includes/fields/class-payment-credit-card.php:289
|
3332 |
+
msgid "Name on Card"
|
3333 |
msgstr ""
|
3334 |
|
3335 |
+
#: pro/includes/fields/class-payment-credit-card.php:131
|
3336 |
+
#: pro/includes/fields/class-payment-credit-card.php:294
|
3337 |
+
msgid "Expiration"
|
3338 |
msgstr ""
|
3339 |
|
3340 |
+
#: pro/includes/fields/class-payment-credit-card.php:216
|
3341 |
msgid "Card Number Placeholder Text"
|
3342 |
msgstr ""
|
3343 |
|
3344 |
+
#: pro/includes/fields/class-payment-credit-card.php:225
|
3345 |
msgid "Security Code Placeholder Text"
|
3346 |
msgstr ""
|
3347 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3348 |
#: pro/includes/fields/class-payment-credit-card.php:234
|
3349 |
+
msgid "Name on Card Placeholder Text"
|
3350 |
msgstr ""
|
3351 |
|
3352 |
+
#: pro/includes/fields/class-payment-credit-card.php:300
|
3353 |
+
#: pro/includes/fields/class-payment-credit-card.php:403
|
3354 |
+
msgid "YY"
|
3355 |
msgstr ""
|
3356 |
|
3357 |
+
#: pro/includes/fields/class-payment-credit-card.php:332
|
3358 |
msgid ""
|
3359 |
"This page is insecure. Credit Card field should be used for testing purposes "
|
3360 |
"only."
|
3361 |
msgstr ""
|
3362 |
|
|
|
|
|
|
|
|
|
3363 |
#: pro/includes/fields/class-payment-dropdown.php:21
|
3364 |
msgid "Dropdown Items"
|
3365 |
msgstr ""
|
3445 |
msgid "Phone"
|
3446 |
msgstr ""
|
3447 |
|
3448 |
+
#: pro/includes/fields/class-phone.php:79
|
3449 |
msgid "Select format for the phone form field"
|
3450 |
msgstr ""
|
3451 |
|
3645 |
msgid "Please deactivate WPForms Lite before activating WPForms"
|
3646 |
msgstr ""
|
3647 |
|
3648 |
+
#. #-#-#-#-# wpforms.pot (WPForms 1.3.7.3) #-#-#-#-#
|
3649 |
#. Plugin URI of the plugin/theme
|
3650 |
+
#. #-#-#-#-# wpforms.pot (WPForms 1.3.7.3) #-#-#-#-#
|
3651 |
#. Author URI of the plugin/theme
|
3652 |
msgid "https://wpforms.com"
|
3653 |
msgstr ""
|
readme.txt
CHANGED
@@ -164,6 +164,13 @@ Syed Balkhi
|
|
164 |
|
165 |
== Changelog ==
|
166 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
= 1.3.7.2 =
|
168 |
- Fixed: Error for some users with PHP 5.4 and below
|
169 |
|
164 |
|
165 |
== Changelog ==
|
166 |
|
167 |
+
= 1.3.7.3 =
|
168 |
+
- Fixed: Required setting checkbox getting out of sync when duplicating fields
|
169 |
+
- Fixed: CSS class name typo in the form builder layout selector
|
170 |
+
- Fixed: Smart Tag `field_id` stripping line breaks
|
171 |
+
- Fixed: Form JS settings `wpforms_settings` missing due to some caching plugins
|
172 |
+
- Fixed: Empty classes causing `array` string to be printed in some use cases
|
173 |
+
|
174 |
= 1.3.7.2 =
|
175 |
- Fixed: Error for some users with PHP 5.4 and below
|
176 |
|
wpforms.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Beginner friendly WordPress contact form plugin. Use our Drag & Drop form builder to create your WordPress forms.
|
6 |
* Author: WPForms
|
7 |
* Author URI: https://wpforms.com
|
8 |
-
* Version: 1.3.7.
|
9 |
* Text Domain: wpforms
|
10 |
* Domain Path: languages
|
11 |
*
|
@@ -81,7 +81,7 @@ final class WPForms {
|
|
81 |
* @since 1.0.0
|
82 |
* @var sting
|
83 |
*/
|
84 |
-
public $version = '1.3.7.
|
85 |
|
86 |
/**
|
87 |
* The form data handler instance.
|
5 |
* Description: Beginner friendly WordPress contact form plugin. Use our Drag & Drop form builder to create your WordPress forms.
|
6 |
* Author: WPForms
|
7 |
* Author URI: https://wpforms.com
|
8 |
+
* Version: 1.3.7.3
|
9 |
* Text Domain: wpforms
|
10 |
* Domain Path: languages
|
11 |
*
|
81 |
* @since 1.0.0
|
82 |
* @var sting
|
83 |
*/
|
84 |
+
public $version = '1.3.7.3';
|
85 |
|
86 |
/**
|
87 |
* The form data handler instance.
|