Version Description
- New: Name fields now work in the To and From settings for email actions.
- Fix: Images were not properly loading when styles were loading via an AJAX request.
- Fix: Zeros were not appearing in the entries list for repeaters.
Download this release
Release Info
Developer | formidableforms |
Plugin | Formidable Forms – Form Builder for WordPress |
Version | 4.11.03 |
Comparing to | |
See all releases |
Code changes from version 4.11.02 to 4.11.03
- classes/controllers/FrmInboxController.php +20 -2
- classes/controllers/FrmStylesController.php +30 -0
- classes/helpers/FrmAppHelper.php +2 -2
- classes/helpers/FrmEntriesHelper.php +1 -1
- classes/models/FrmMigrate.php +10 -1
- classes/models/FrmSettings.php +16 -5
- classes/models/FrmStyle.php +1 -1
- classes/models/fields/FrmFieldName.php +8 -0
- classes/views/frm-fields/back-end/field-options.php +3 -1
- classes/views/frm-settings/general.php +14 -7
- css/frm_admin.css +5 -0
- formidable.php +1 -1
- js/formidable_admin.js +48 -29
- languages/formidable.pot +22 -14
- readme.txt +6 -6
classes/controllers/FrmInboxController.php
CHANGED
@@ -13,8 +13,9 @@ class FrmInboxController {
|
|
13 |
*/
|
14 |
public static function menu() {
|
15 |
$unread = self::get_notice_count();
|
16 |
-
|
17 |
add_submenu_page( 'formidable', 'Formidable | ' . __( 'Inbox', 'formidable' ), __( 'Inbox', 'formidable' ) . $unread, 'frm_change_settings', 'formidable-inbox', 'FrmInboxController::inbox' );
|
|
|
|
|
18 |
}
|
19 |
|
20 |
/**
|
@@ -23,10 +24,27 @@ class FrmInboxController {
|
|
23 |
private static function get_notice_count() {
|
24 |
FrmFormMigratorsHelper::maybe_add_to_inbox();
|
25 |
|
26 |
-
$inbox
|
27 |
return $inbox->unread_html();
|
28 |
}
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
/**
|
31 |
* @since 4.06
|
32 |
*/
|
13 |
*/
|
14 |
public static function menu() {
|
15 |
$unread = self::get_notice_count();
|
|
|
16 |
add_submenu_page( 'formidable', 'Formidable | ' . __( 'Inbox', 'formidable' ), __( 'Inbox', 'formidable' ) . $unread, 'frm_change_settings', 'formidable-inbox', 'FrmInboxController::inbox' );
|
17 |
+
|
18 |
+
self::maybe_add_old_css_message();
|
19 |
}
|
20 |
|
21 |
/**
|
24 |
private static function get_notice_count() {
|
25 |
FrmFormMigratorsHelper::maybe_add_to_inbox();
|
26 |
|
27 |
+
$inbox = new FrmInbox();
|
28 |
return $inbox->unread_html();
|
29 |
}
|
30 |
|
31 |
+
private static function maybe_add_old_css_message() {
|
32 |
+
$frm_settings = FrmAppHelper::get_settings();
|
33 |
+
if ( $frm_settings->old_css ) {
|
34 |
+
$inbox = new FrmInbox();
|
35 |
+
$inbox->add_message(
|
36 |
+
array(
|
37 |
+
'key' => 'old_css',
|
38 |
+
'subject' => 'The option to disable CSS Grids for form layouts is being removed.',
|
39 |
+
'message' => 'We\'ve got some awesome form layout features coming soon. These new layouts will require CSS grids, and will not be supported in Internet Explorer. If a visitor views your forms in IE, a single field will show in each row.<br><br>We recommend enabling CSS Grids in Global Settings and then checking your form layouts.',
|
40 |
+
'cta' => '<a href="' . esc_url( admin_url( 'admin.php?page=formidable-settings' ) ) . '" class="button-primary frm-button-primary">' . esc_html__( 'Go to Global Settings', 'formidable' ) . '</a>',
|
41 |
+
'icon' => 'frm_report_problem_icon',
|
42 |
+
'type' => 'news',
|
43 |
+
)
|
44 |
+
);
|
45 |
+
}
|
46 |
+
}
|
47 |
+
|
48 |
/**
|
49 |
* @since 4.06
|
50 |
*/
|
classes/controllers/FrmStylesController.php
CHANGED
@@ -451,10 +451,40 @@ class FrmStylesController {
|
|
451 |
public static function load_saved_css() {
|
452 |
$css = get_transient( 'frmpro_css' );
|
453 |
|
|
|
454 |
include( FrmAppHelper::plugin_path() . '/css/custom_theme.css.php' );
|
|
|
|
|
|
|
|
|
455 |
wp_die();
|
456 |
}
|
457 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
458 |
/**
|
459 |
* Check if the Formidable styling should be loaded,
|
460 |
* then enqueue it for the footer
|
451 |
public static function load_saved_css() {
|
452 |
$css = get_transient( 'frmpro_css' );
|
453 |
|
454 |
+
ob_start();
|
455 |
include( FrmAppHelper::plugin_path() . '/css/custom_theme.css.php' );
|
456 |
+
$output = ob_get_clean();
|
457 |
+
|
458 |
+
echo self::replace_relative_url( $output ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
459 |
+
|
460 |
wp_die();
|
461 |
}
|
462 |
|
463 |
+
/**
|
464 |
+
* Replaces relative URL with absolute URL.
|
465 |
+
*
|
466 |
+
* @since 4.11.03
|
467 |
+
*
|
468 |
+
* @param string $css CSS content.
|
469 |
+
* @return string
|
470 |
+
*/
|
471 |
+
public static function replace_relative_url( $css ) {
|
472 |
+
$plugin_url = trailingslashit( FrmAppHelper::plugin_url() );
|
473 |
+
return str_replace(
|
474 |
+
array(
|
475 |
+
'url(../',
|
476 |
+
"url('../",
|
477 |
+
'url("../',
|
478 |
+
),
|
479 |
+
array(
|
480 |
+
'url(' . $plugin_url,
|
481 |
+
"url('" . $plugin_url,
|
482 |
+
'url("' . $plugin_url,
|
483 |
+
),
|
484 |
+
$css
|
485 |
+
);
|
486 |
+
}
|
487 |
+
|
488 |
/**
|
489 |
* Check if the Formidable styling should be loaded,
|
490 |
* then enqueue it for the footer
|
classes/helpers/FrmAppHelper.php
CHANGED
@@ -4,14 +4,14 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
4 |
}
|
5 |
|
6 |
class FrmAppHelper {
|
7 |
-
public static $db_version =
|
8 |
public static $pro_db_version = 37; //deprecated
|
9 |
public static $font_version = 7;
|
10 |
|
11 |
/**
|
12 |
* @since 2.0
|
13 |
*/
|
14 |
-
public static $plug_version = '4.11.
|
15 |
|
16 |
/**
|
17 |
* @since 1.07.02
|
4 |
}
|
5 |
|
6 |
class FrmAppHelper {
|
7 |
+
public static $db_version = 98; // Version of the database we are moving to.
|
8 |
public static $pro_db_version = 37; //deprecated
|
9 |
public static $font_version = 7;
|
10 |
|
11 |
/**
|
12 |
* @since 2.0
|
13 |
*/
|
14 |
+
public static $plug_version = '4.11.03';
|
15 |
|
16 |
/**
|
17 |
* @since 1.07.02
|
classes/helpers/FrmEntriesHelper.php
CHANGED
@@ -212,7 +212,7 @@ class FrmEntriesHelper {
|
|
212 |
// Fet the value for this field -- check for post values as well.
|
213 |
$entry_val = FrmProEntryMetaHelper::get_post_or_meta_value( $child_entry, $field );
|
214 |
|
215 |
-
if ( $entry_val ) {
|
216 |
// foreach entry get display_value.
|
217 |
$field_value[] = self::display_value( $entry_val, $field, $atts );
|
218 |
}
|
212 |
// Fet the value for this field -- check for post values as well.
|
213 |
$entry_val = FrmProEntryMetaHelper::get_post_or_meta_value( $child_entry, $field );
|
214 |
|
215 |
+
if ( $entry_val || '0' === $entry_val ) {
|
216 |
// foreach entry get display_value.
|
217 |
$field_value[] = self::display_value( $entry_val, $field, $atts );
|
218 |
}
|
classes/models/FrmMigrate.php
CHANGED
@@ -205,7 +205,7 @@ class FrmMigrate {
|
|
205 |
return;
|
206 |
}
|
207 |
|
208 |
-
$migrations = array( 16, 11, 16, 17, 23, 25, 86, 90, 97 );
|
209 |
foreach ( $migrations as $migration ) {
|
210 |
if ( FrmAppHelper::$db_version >= $migration && $old_db_version < $migration ) {
|
211 |
$function_name = 'migrate_to_' . $migration;
|
@@ -274,6 +274,15 @@ class FrmMigrate {
|
|
274 |
return true;
|
275 |
}
|
276 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
277 |
/**
|
278 |
* Move default_blank and clear_on_focus to placeholder.
|
279 |
*
|
205 |
return;
|
206 |
}
|
207 |
|
208 |
+
$migrations = array( 16, 11, 16, 17, 23, 25, 86, 90, 97, 98 );
|
209 |
foreach ( $migrations as $migration ) {
|
210 |
if ( FrmAppHelper::$db_version >= $migration && $old_db_version < $migration ) {
|
211 |
$function_name = 'migrate_to_' . $migration;
|
274 |
return true;
|
275 |
}
|
276 |
|
277 |
+
/**
|
278 |
+
* Clear frmpro_css transient.
|
279 |
+
*
|
280 |
+
* @since 4.10.02
|
281 |
+
*/
|
282 |
+
private function migrate_to_98() {
|
283 |
+
delete_transient( 'frmpro_css' );
|
284 |
+
}
|
285 |
+
|
286 |
/**
|
287 |
* Move default_blank and clear_on_focus to placeholder.
|
288 |
*
|
classes/models/FrmSettings.php
CHANGED
@@ -245,17 +245,28 @@ class FrmSettings {
|
|
245 |
}
|
246 |
|
247 |
private function update_settings( $params ) {
|
248 |
-
$this->pubkey
|
249 |
-
$this->privkey
|
250 |
-
$this->re_type
|
251 |
-
$this->re_lang
|
252 |
-
|
253 |
$this->load_style = $params['frm_load_style'];
|
254 |
|
|
|
|
|
255 |
$checkboxes = array( 'mu_menu', 're_multi', 'use_html', 'jquery_css', 'accordion_js', 'fade_form', 'old_css', 'no_ips', 'tracking', 'admin_bar' );
|
256 |
foreach ( $checkboxes as $set ) {
|
257 |
$this->$set = isset( $params[ 'frm_' . $set ] ) ? $params[ 'frm_' . $set ] : 0;
|
258 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
259 |
}
|
260 |
|
261 |
private function update_roles( $params ) {
|
245 |
}
|
246 |
|
247 |
private function update_settings( $params ) {
|
248 |
+
$this->pubkey = trim( $params['frm_pubkey'] );
|
249 |
+
$this->privkey = $params['frm_privkey'];
|
250 |
+
$this->re_type = $params['frm_re_type'];
|
251 |
+
$this->re_lang = $params['frm_re_lang'];
|
|
|
252 |
$this->load_style = $params['frm_load_style'];
|
253 |
|
254 |
+
$previous_old_css_setting = $this->old_css;
|
255 |
+
|
256 |
$checkboxes = array( 'mu_menu', 're_multi', 'use_html', 'jquery_css', 'accordion_js', 'fade_form', 'old_css', 'no_ips', 'tracking', 'admin_bar' );
|
257 |
foreach ( $checkboxes as $set ) {
|
258 |
$this->$set = isset( $params[ 'frm_' . $set ] ) ? $params[ 'frm_' . $set ] : 0;
|
259 |
}
|
260 |
+
|
261 |
+
$this->maybe_remove_old_css_inbox_message( $previous_old_css_setting, $this->old_css );
|
262 |
+
}
|
263 |
+
|
264 |
+
private function maybe_remove_old_css_inbox_message( $previous_setting, $new_setting ) {
|
265 |
+
$enabled_css_grid = $previous_setting && ! $new_setting;
|
266 |
+
if ( $enabled_css_grid ) {
|
267 |
+
$inbox = new FrmInbox();
|
268 |
+
$inbox->remove( 'old_css' );
|
269 |
+
}
|
270 |
}
|
271 |
|
272 |
private function update_roles( $params ) {
|
classes/models/FrmStyle.php
CHANGED
@@ -167,7 +167,7 @@ class FrmStyle {
|
|
167 |
$css .= preg_replace( '/\/\*(.|\s)*?\*\//', '', str_replace( array( "\r\n", "\r", "\n", "\t", ' ' ), '', ob_get_contents() ) );
|
168 |
ob_end_clean();
|
169 |
|
170 |
-
return $css;
|
171 |
}
|
172 |
|
173 |
private function clear_cache() {
|
167 |
$css .= preg_replace( '/\/\*(.|\s)*?\*\//', '', str_replace( array( "\r\n", "\r", "\n", "\t", ' ' ), '', ob_get_contents() ) );
|
168 |
ob_end_clean();
|
169 |
|
170 |
+
return FrmStylesController::replace_relative_url( $css );
|
171 |
}
|
172 |
|
173 |
private function clear_cache() {
|
classes/models/fields/FrmFieldName.php
CHANGED
@@ -20,6 +20,14 @@ class FrmFieldName extends FrmFieldCombo {
|
|
20 |
*/
|
21 |
protected $type = 'name';
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
public function __construct( $field = '', $type = '' ) {
|
24 |
parent::__construct( $field, $type );
|
25 |
|
20 |
*/
|
21 |
protected $type = 'name';
|
22 |
|
23 |
+
/**
|
24 |
+
* Could this field hold email values?
|
25 |
+
*
|
26 |
+
* @var bool
|
27 |
+
* @since 3.0
|
28 |
+
*/
|
29 |
+
protected $holds_email_values = true;
|
30 |
+
|
31 |
public function __construct( $field = '', $type = '' ) {
|
32 |
parent::__construct( $field, $type );
|
33 |
|
classes/views/frm-fields/back-end/field-options.php
CHANGED
@@ -2,6 +2,8 @@
|
|
2 |
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
die( 'You are not allowed to call this page directly.' );
|
4 |
}
|
|
|
|
|
5 |
?>
|
6 |
<span class="frm-bulk-edit-link <?php echo empty( FrmField::get_option( $args['field'], 'image_options' ) ) ? '' : 'frm_hidden'; ?> ">
|
7 |
<a href="#" title="<?php echo esc_attr( $option_title ); ?>" class="frm-bulk-edit-link">
|
@@ -11,7 +13,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
11 |
|
12 |
<?php do_action( 'frm_add_multiple_opts_labels', $args['field'] ); ?>
|
13 |
|
14 |
-
<ul id="frm_field_<?php echo esc_attr( $args['field']['id'] ); ?>_opts" class="frm_sortable_field_opts frm_clear<?php echo (
|
15 |
<?php $this->show_single_option( $args ); ?>
|
16 |
</ul>
|
17 |
|
2 |
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
die( 'You are not allowed to call this page directly.' );
|
4 |
}
|
5 |
+
|
6 |
+
$field_option_count = is_array( $args['field']['options'] ) ? count( $args['field']['options'] ) : 0;
|
7 |
?>
|
8 |
<span class="frm-bulk-edit-link <?php echo empty( FrmField::get_option( $args['field'], 'image_options' ) ) ? '' : 'frm_hidden'; ?> ">
|
9 |
<a href="#" title="<?php echo esc_attr( $option_title ); ?>" class="frm-bulk-edit-link">
|
13 |
|
14 |
<?php do_action( 'frm_add_multiple_opts_labels', $args['field'] ); ?>
|
15 |
|
16 |
+
<ul id="frm_field_<?php echo esc_attr( $args['field']['id'] ); ?>_opts" class="frm_sortable_field_opts frm_clear<?php echo ( $field_option_count > 10 ) ? ' frm_field_opts_list' : ''; ?> frm_add_remove" data-key="<?php echo esc_attr( $args['field']['field_key'] ); ?>">
|
17 |
<?php $this->show_single_option( $args ); ?>
|
18 |
</ul>
|
19 |
|
classes/views/frm-settings/general.php
CHANGED
@@ -31,13 +31,20 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
31 |
</select>
|
32 |
</p>
|
33 |
|
34 |
-
|
35 |
-
<
|
36 |
-
<
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
<?php do_action( 'frm_style_general_settings', $frm_settings ); ?>
|
43 |
|
31 |
</select>
|
32 |
</p>
|
33 |
|
34 |
+
<?php if ( $frm_settings->old_css ) { ?>
|
35 |
+
<p>
|
36 |
+
<label for="frm_old_css">
|
37 |
+
<input type="checkbox" id="frm_old_css" name="frm_old_css" value="1" <?php checked( $frm_settings->old_css, 1 ); ?> />
|
38 |
+
<?php esc_html_e( 'Do not use CSS Grids for form layouts', 'formidable' ); ?>
|
39 |
+
<span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php esc_attr_e( 'Form layouts built using CSS grids that are not fully supported by older browsers like Internet Explorer. Leave this box unchecked for your layouts to look best in current browsers, but show in a single column in older browsers.', 'formidable' ); ?>"></span>
|
40 |
+
|
41 |
+
<span class="frm_warning_style" role="alert">
|
42 |
+
<?php FrmAppHelper::icon_by_class( 'frmfont frm_alert_icon' ); ?>
|
43 |
+
<?php esc_html_e( 'Warning: This setting is deprecated. It will be removed when it is turned off.', 'formidable' ); ?>
|
44 |
+
</span>
|
45 |
+
</label>
|
46 |
+
</p>
|
47 |
+
<?php } ?>
|
48 |
|
49 |
<?php do_action( 'frm_style_general_settings', $frm_settings ); ?>
|
50 |
|
css/frm_admin.css
CHANGED
@@ -1631,6 +1631,11 @@ div.frm_updated_message {
|
|
1631 |
size: 11px;
|
1632 |
}
|
1633 |
|
|
|
|
|
|
|
|
|
|
|
1634 |
.frm_ribbon span {
|
1635 |
position: absolute;
|
1636 |
left: 25px;
|
1631 |
size: 11px;
|
1632 |
}
|
1633 |
|
1634 |
+
.plugin-card-top .frm_ribbon {
|
1635 |
+
right: -33px;
|
1636 |
+
top: -28px;
|
1637 |
+
}
|
1638 |
+
|
1639 |
.frm_ribbon span {
|
1640 |
position: absolute;
|
1641 |
left: 25px;
|
formidable.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Formidable Forms
|
4 |
Description: Quickly and easily create drag-and-drop forms
|
5 |
-
Version: 4.11.
|
6 |
Plugin URI: https://formidableforms.com/
|
7 |
Author URI: https://formidableforms.com/
|
8 |
Author: Strategy11
|
2 |
/*
|
3 |
Plugin Name: Formidable Forms
|
4 |
Description: Quickly and easily create drag-and-drop forms
|
5 |
+
Version: 4.11.03
|
6 |
Plugin URI: https://formidableforms.com/
|
7 |
Author URI: https://formidableforms.com/
|
8 |
Author: Strategy11
|
js/formidable_admin.js
CHANGED
@@ -4343,6 +4343,7 @@ function frmAdminBuildJS() {
|
|
4343 |
var curSelect, newSelect,
|
4344 |
catRows = document.getElementById( 'frm_posttax_rows' ).childNodes,
|
4345 |
postParentField = document.querySelector( '.frm_post_parent_field' ),
|
|
|
4346 |
postType = this.value;
|
4347 |
|
4348 |
// Get new category/taxonomy options
|
@@ -4380,38 +4381,56 @@ function frmAdminBuildJS() {
|
|
4380 |
|
4381 |
// Get new post parent option.
|
4382 |
if ( postParentField ) {
|
4383 |
-
|
4384 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4385 |
|
4386 |
-
|
4387 |
-
|
4388 |
-
|
4389 |
-
|
4390 |
-
action: 'frm_get_post_parent_option',
|
4391 |
-
post_type: postType,
|
4392 |
-
_wpnonce: frmGlobal.nonce
|
4393 |
-
},
|
4394 |
-
success: response => {
|
4395 |
-
if ( 'string' !== typeof response ) {
|
4396 |
-
console.error( response );
|
4397 |
-
return;
|
4398 |
-
}
|
4399 |
|
4400 |
-
|
4401 |
-
|
4402 |
-
|
4403 |
-
postParentOpt.value = '';
|
4404 |
-
return;
|
4405 |
-
}
|
4406 |
|
4407 |
-
|
4408 |
-
|
4409 |
-
|
4410 |
-
|
4411 |
-
|
4412 |
-
|
4413 |
-
|
4414 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4415 |
}
|
4416 |
|
4417 |
function addPosttaxRow() {
|
4343 |
var curSelect, newSelect,
|
4344 |
catRows = document.getElementById( 'frm_posttax_rows' ).childNodes,
|
4345 |
postParentField = document.querySelector( '.frm_post_parent_field' ),
|
4346 |
+
postMenuOrderField = document.querySelector( '.frm_post_menu_order_field' ),
|
4347 |
postType = this.value;
|
4348 |
|
4349 |
// Get new category/taxonomy options
|
4381 |
|
4382 |
// Get new post parent option.
|
4383 |
if ( postParentField ) {
|
4384 |
+
getActionOption(
|
4385 |
+
postParentField,
|
4386 |
+
postType,
|
4387 |
+
'frm_get_post_parent_option',
|
4388 |
+
function( response, optName ) {
|
4389 |
+
// The replaced string is declared in FrmProFormActionController::ajax_get_post_menu_order_option() in the pro version.
|
4390 |
+
postParentField.querySelector( '.frm_post_parent_opt_wrapper' ).innerHTML = response.replaceAll( 'REPLACETHISNAME', optName );
|
4391 |
+
initAutocomplete( 'page', postParentField );
|
4392 |
+
}
|
4393 |
+
);
|
4394 |
+
}
|
4395 |
|
4396 |
+
if ( postMenuOrderField ) {
|
4397 |
+
getActionOption( postMenuOrderField, postType, 'frm_should_use_post_menu_order_option' );
|
4398 |
+
}
|
4399 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4400 |
|
4401 |
+
function getActionOption( field, postType, action, successHandler ) {
|
4402 |
+
const opt = field.querySelector( '.frm_autocomplete_value_input' ) || field.querySelector( 'select' ),
|
4403 |
+
optName = opt.getAttribute( 'name' );
|
|
|
|
|
|
|
4404 |
|
4405 |
+
jQuery.ajax({
|
4406 |
+
url: ajaxurl,
|
4407 |
+
method: 'POST',
|
4408 |
+
data: {
|
4409 |
+
action: action,
|
4410 |
+
post_type: postType,
|
4411 |
+
_wpnonce: frmGlobal.nonce
|
4412 |
+
},
|
4413 |
+
success: response => {
|
4414 |
+
if ( 'string' !== typeof response ) {
|
4415 |
+
console.error( response );
|
4416 |
+
return;
|
4417 |
+
}
|
4418 |
+
|
4419 |
+
if ( '0' === response ) {
|
4420 |
+
// This post type does not support this field.
|
4421 |
+
field.classList.add( 'frm_hidden' );
|
4422 |
+
field.value = '';
|
4423 |
+
return;
|
4424 |
+
}
|
4425 |
+
|
4426 |
+
field.classList.remove( 'frm_hidden' );
|
4427 |
+
|
4428 |
+
if ( 'function' === typeof successHandler ) {
|
4429 |
+
successHandler( response, optName );
|
4430 |
+
}
|
4431 |
+
},
|
4432 |
+
error: response => console.error( response )
|
4433 |
+
});
|
4434 |
}
|
4435 |
|
4436 |
function addPosttaxRow() {
|
languages/formidable.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the same license as the Formidable Forms plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Formidable Forms 4.11.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/formidable\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2021-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: formidable\n"
|
@@ -649,17 +649,21 @@ msgstr ""
|
|
649 |
msgid "%1$sClick here%2$s if you are not automatically redirected."
|
650 |
msgstr ""
|
651 |
|
652 |
-
#: classes/controllers/FrmInboxController.php:
|
653 |
#: classes/controllers/FrmSettingsController.php:70
|
654 |
#: classes/views/inbox/list.php:11
|
655 |
msgid "Inbox"
|
656 |
msgstr ""
|
657 |
|
658 |
-
#: classes/controllers/FrmInboxController.php:
|
|
|
|
|
|
|
|
|
659 |
msgid "Dismiss All"
|
660 |
msgstr ""
|
661 |
|
662 |
-
#: classes/controllers/FrmInboxController.php:
|
663 |
msgid "Help Formidable improve with usage tracking"
|
664 |
msgstr ""
|
665 |
|
@@ -3102,7 +3106,7 @@ msgid "If you have many checkbox or radio button options, you may add this class
|
|
3102 |
msgstr ""
|
3103 |
|
3104 |
#: classes/helpers/FrmFormsHelper.php:1161
|
3105 |
-
#: classes/models/fields/FrmFieldName.php:
|
3106 |
msgid "First"
|
3107 |
msgstr ""
|
3108 |
|
@@ -3687,11 +3691,11 @@ msgstr ""
|
|
3687 |
msgid "Description"
|
3688 |
msgstr ""
|
3689 |
|
3690 |
-
#: classes/models/fields/FrmFieldName.php:
|
3691 |
msgid "Middle"
|
3692 |
msgstr ""
|
3693 |
|
3694 |
-
#: classes/models/fields/FrmFieldName.php:
|
3695 |
msgid "Last"
|
3696 |
msgstr ""
|
3697 |
|
@@ -4056,7 +4060,7 @@ msgstr ""
|
|
4056 |
msgid "If you are human, leave this field blank."
|
4057 |
msgstr ""
|
4058 |
|
4059 |
-
#: classes/models/FrmMigrate.php:
|
4060 |
msgid "Sending"
|
4061 |
msgstr ""
|
4062 |
|
@@ -5352,23 +5356,27 @@ msgstr ""
|
|
5352 |
msgid "Don't use form styling on any page"
|
5353 |
msgstr ""
|
5354 |
|
5355 |
-
#: classes/views/frm-settings/general.php:
|
5356 |
msgid "Do not use CSS Grids for form layouts"
|
5357 |
msgstr ""
|
5358 |
|
5359 |
-
#: classes/views/frm-settings/general.php:
|
5360 |
msgid "Form layouts built using CSS grids that are not fully supported by older browsers like Internet Explorer. Leave this box unchecked for your layouts to look best in current browsers, but show in a single column in older browsers."
|
5361 |
msgstr ""
|
5362 |
|
5363 |
-
#: classes/views/frm-settings/general.php:
|
|
|
|
|
|
|
|
|
5364 |
msgid "Other"
|
5365 |
msgstr ""
|
5366 |
|
5367 |
-
#: classes/views/frm-settings/general.php:
|
5368 |
msgid "Do not store IPs with form submissions. Check this box for to assist with GDPR compliance."
|
5369 |
msgstr ""
|
5370 |
|
5371 |
-
#: classes/views/frm-settings/general.php:
|
5372 |
msgid "Do not include Formidable in the admin bar."
|
5373 |
msgstr ""
|
5374 |
|
2 |
# This file is distributed under the same license as the Formidable Forms plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Formidable Forms 4.11.03\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/formidable\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2021-07-01T13:47:12+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: formidable\n"
|
649 |
msgid "%1$sClick here%2$s if you are not automatically redirected."
|
650 |
msgstr ""
|
651 |
|
652 |
+
#: classes/controllers/FrmInboxController.php:16
|
653 |
#: classes/controllers/FrmSettingsController.php:70
|
654 |
#: classes/views/inbox/list.php:11
|
655 |
msgid "Inbox"
|
656 |
msgstr ""
|
657 |
|
658 |
+
#: classes/controllers/FrmInboxController.php:40
|
659 |
+
msgid "Go to Global Settings"
|
660 |
+
msgstr ""
|
661 |
+
|
662 |
+
#: classes/controllers/FrmInboxController.php:57
|
663 |
msgid "Dismiss All"
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: classes/controllers/FrmInboxController.php:115
|
667 |
msgid "Help Formidable improve with usage tracking"
|
668 |
msgstr ""
|
669 |
|
3106 |
msgstr ""
|
3107 |
|
3108 |
#: classes/helpers/FrmFormsHelper.php:1161
|
3109 |
+
#: classes/models/fields/FrmFieldName.php:36
|
3110 |
msgid "First"
|
3111 |
msgstr ""
|
3112 |
|
3691 |
msgid "Description"
|
3692 |
msgstr ""
|
3693 |
|
3694 |
+
#: classes/models/fields/FrmFieldName.php:37
|
3695 |
msgid "Middle"
|
3696 |
msgstr ""
|
3697 |
|
3698 |
+
#: classes/models/fields/FrmFieldName.php:38
|
3699 |
msgid "Last"
|
3700 |
msgstr ""
|
3701 |
|
4060 |
msgid "If you are human, leave this field blank."
|
4061 |
msgstr ""
|
4062 |
|
4063 |
+
#: classes/models/FrmMigrate.php:573
|
4064 |
msgid "Sending"
|
4065 |
msgstr ""
|
4066 |
|
5356 |
msgid "Don't use form styling on any page"
|
5357 |
msgstr ""
|
5358 |
|
5359 |
+
#: classes/views/frm-settings/general.php:38
|
5360 |
msgid "Do not use CSS Grids for form layouts"
|
5361 |
msgstr ""
|
5362 |
|
5363 |
+
#: classes/views/frm-settings/general.php:39
|
5364 |
msgid "Form layouts built using CSS grids that are not fully supported by older browsers like Internet Explorer. Leave this box unchecked for your layouts to look best in current browsers, but show in a single column in older browsers."
|
5365 |
msgstr ""
|
5366 |
|
5367 |
+
#: classes/views/frm-settings/general.php:43
|
5368 |
+
msgid "Warning: This setting is deprecated. It will be removed when it is turned off."
|
5369 |
+
msgstr ""
|
5370 |
+
|
5371 |
+
#: classes/views/frm-settings/general.php:52
|
5372 |
msgid "Other"
|
5373 |
msgstr ""
|
5374 |
|
5375 |
+
#: classes/views/frm-settings/general.php:65
|
5376 |
msgid "Do not store IPs with form submissions. Check this box for to assist with GDPR compliance."
|
5377 |
msgstr ""
|
5378 |
|
5379 |
+
#: classes/views/frm-settings/general.php:72
|
5380 |
msgid "Do not include Formidable in the admin bar."
|
5381 |
msgstr ""
|
5382 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: forms, contact form, form builder, survey, form maker, form creator, paypa
|
|
5 |
Requires at least: 4.7
|
6 |
Tested up to: 5.7.2
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 4.11.
|
9 |
|
10 |
The most advanced WordPress forms plugin. Go beyond contact forms with our drag & drop form builder for surveys, quizzes, and more.
|
11 |
|
@@ -440,6 +440,11 @@ Using our Zapier integration, you can easily connect Formidable with over 1000+
|
|
440 |
See all <a href="https://zapier.com/apps/formidable/integrations">Formidable Zapier Integrations</a>.
|
441 |
|
442 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
443 |
= 4.11.02 =
|
444 |
* New: The padding for descriptions can now be customized when editing styles.
|
445 |
|
@@ -470,9 +475,4 @@ See all <a href="https://zapier.com/apps/formidable/integrations">Formidable Zap
|
|
470 |
* Fix: After opening the popup to add a layout class to a field, the field would no longer be selectable.
|
471 |
* Fix: Prevent the url from getting too large when repeatedly bulk deleting or searching entries.
|
472 |
|
473 |
-
= 4.10 =
|
474 |
-
* Fix: Some fields, including signatures, were not properly detecting duplicate entries.
|
475 |
-
* Fix: Zeros were not appearing when used as a placeholder value.
|
476 |
-
* Fix: Prevent a warning when previewing with no fields.
|
477 |
-
|
478 |
<a href="https://raw.githubusercontent.com/Strategy11/formidable-forms/master/changelog.txt">See changelog for all versions</a>
|
5 |
Requires at least: 4.7
|
6 |
Tested up to: 5.7.2
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 4.11.03
|
9 |
|
10 |
The most advanced WordPress forms plugin. Go beyond contact forms with our drag & drop form builder for surveys, quizzes, and more.
|
11 |
|
440 |
See all <a href="https://zapier.com/apps/formidable/integrations">Formidable Zapier Integrations</a>.
|
441 |
|
442 |
== Changelog ==
|
443 |
+
= 4.11.03 =
|
444 |
+
* New: Name fields now work in the To and From settings for email actions.
|
445 |
+
* Fix: Images were not properly loading when styles were loading via an AJAX request.
|
446 |
+
* Fix: Zeros were not appearing in the entries list for repeaters.
|
447 |
+
|
448 |
= 4.11.02 =
|
449 |
* New: The padding for descriptions can now be customized when editing styles.
|
450 |
|
475 |
* Fix: After opening the popup to add a layout class to a field, the field would no longer be selectable.
|
476 |
* Fix: Prevent the url from getting too large when repeatedly bulk deleting or searching entries.
|
477 |
|
|
|
|
|
|
|
|
|
|
|
478 |
<a href="https://raw.githubusercontent.com/Strategy11/formidable-forms/master/changelog.txt">See changelog for all versions</a>
|