Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
= 6.16.3 =
* New: Additional duplicate entry check validation has been added. Now, when a form is resubmitted when loading the browser on iOS devices, these requests will trigger a duplicate entry error for a month instead of the default 60 seconds.
* New: When viewing an entry, the timestamp in the sidebar will now use the WordPress format settings.
* New: New: A new database index has been added to the form entries table. This significantly improves performance for entry count queries.
* New: A new database index has been added to the form entries table. This significantly improves performance for entry count queries.
* Fix: Invalid name field inputs did not always load with a proper aria-invalid value, and error auto-focusing wouldn't work as expected for name fields.
* Fix: An unsupported operand types: array + string fatal error has been fixed.
* Fix: The hook used to load translations has been updated to improve compatibility with WordPress 6.7+.
Expand Down
4 changes: 2 additions & 2 deletions classes/controllers/FrmFormsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3267,12 +3267,12 @@ public static function create( $values = array() ) {
* Education for premium features.
*
* @since 4.05
* @deprecated x.x
* @deprecated 6.16.3
*
* @return void
*/
public static function add_form_style_tab_options() {
_deprecated_function( __METHOD__, 'x.x' );
_deprecated_function( __METHOD__, '6.16.3' );
include FrmAppHelper::plugin_path() . '/classes/views/frm-forms/add_form_style_options.php';
}
}
2 changes: 1 addition & 1 deletion classes/controllers/FrmUsageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static function add_schedules( $schedules = array() ) {
/**
* Checks if tracking is allowed.
*
* @since x.x
* @since 6.16.3
*
* @return bool
*/
Expand Down
2 changes: 1 addition & 1 deletion classes/helpers/FrmAppHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class FrmAppHelper {
*
* @var string
*/
public static $plug_version = '6.16.2';
public static $plug_version = '6.16.3';

/**
* @var bool
Expand Down
6 changes: 3 additions & 3 deletions classes/helpers/FrmShortcodeHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static function get_shortcode_attribute_array( $text ) {
/**
* Returns shortcodes that are shown/hidden based on the context.
*
* @since x.x
* @since 6.16.3
* @return array
*/
public static function get_contextual_shortcodes() {
Expand All @@ -54,7 +54,7 @@ public static function get_contextual_shortcodes() {
/**
* Get contextual shortcodes.
*
* @since x.x
* @since 6.16.3
*
* @return array
*/
Expand All @@ -66,7 +66,7 @@ public static function get_contextual_shortcode_values() {
/**
* Get flattened format of contextual shortcodes.
*
* @since x.x
* @since 6.16.3
*
* @return array
*/
Expand Down
12 changes: 6 additions & 6 deletions classes/models/FrmEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class FrmEntry {

/**
* @since x.x
* @since 6.16.3
*
* @var array
*/
Expand Down Expand Up @@ -50,7 +50,7 @@ private static function create_entry( $values, $type ) {
* Flag the memoized unique id check after a new entry is created.
* This prevents possibly DB requests and helps avoid issues when creating repeater entries.
*
* @since x.x
* @since 6.16.3
*
* @param string $unique_id
* @return void
Expand Down Expand Up @@ -153,7 +153,7 @@ public static function is_duplicate( $new_values, $values ) {
}

/**
* @since x.x
* @since 6.16.3
*
* @param array $values POST request data.
* @param string $created_at The timestamp of the entry we are checking for.
Expand Down Expand Up @@ -197,13 +197,13 @@ private static function maybe_check_for_unique_id_match( $values, $created_at )
}

/**
* @since x.x
* @since 6.16.3
*/
private static function should_check_for_unique_id_match() {
/**
* Allow users to opt out of the DB query, in case it causes performance issues.
*
* @since x.x
* @since 6.16.3
*
* @param bool $should_extend
*/
Expand Down Expand Up @@ -991,7 +991,7 @@ private static function maybe_add_entry_metas( $values, $entry_id ) {
}

/**
* @since x.x
* @since 6.16.3
*
* @param array $values
* @param int $entry_id
Expand Down
10 changes: 5 additions & 5 deletions classes/models/FrmInbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ private function is_for_user( $message ) {
}

/**
* @since x.x
* @since 6.16.3
*
* @param array $who
* @return bool
Expand All @@ -244,7 +244,7 @@ private function is_for_everyone( $who ) {
}

/**
* @since x.x
* @since 6.16.3
*
* @param array $who
* @return bool
Expand Down Expand Up @@ -405,7 +405,7 @@ private function is_free_first_30() {
}

/**
* @since x.x
* @since 6.16.3
*
* @return bool
*/
Expand All @@ -421,7 +421,7 @@ private function is_first_30() {
}

/**
* @since x.x
* @since 6.16.3
*
* @return bool
*/
Expand All @@ -432,7 +432,7 @@ private function is_free_not_first_30() {
/**
* Check if the Pro plugin is active. If not, consider the user to be on the free version.
*
* @since x.x
* @since 6.16.3
*
* @return bool
*/
Expand Down
2 changes: 1 addition & 1 deletion classes/models/FrmMigrate.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private function create_tables() {
* These indexes help optimize database queries for entries.
*
* @since 6.6
* @since x.x idx_form_id_is_draft was also added to frm_items.
* @since 6.16.3 idx_form_id_is_draft was also added to frm_items.
*
* @return void
*/
Expand Down
2 changes: 1 addition & 1 deletion classes/models/fields/FrmFieldCombo.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ protected function register_sub_fields( array $sub_fields ) {
/**
* Set the aria-invalid attribute for subfields.
*
* @since x.x
* @since 6.16.3
*
* @param array $shortcode_atts
* @param array $args
Expand Down
2 changes: 1 addition & 1 deletion classes/models/fields/FrmFieldType.php
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ protected function get_input_class() {
/**
* Set the aria-invalid attribute for field.
*
* @since x.x
* @since 6.16.3
*
* @param array $shortcode_atts
* @param array $args
Expand Down
2 changes: 1 addition & 1 deletion classes/views/frm-forms/add_form_style_options.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
if ( ! defined( 'ABSPATH' ) ) {
die( 'You are not allowed to call this page directly.' );
}
_deprecated_file( esc_html( basename( __FILE__ ) ), 'x.x' );
_deprecated_file( esc_html( basename( __FILE__ ) ), '6.16.3' );
2 changes: 1 addition & 1 deletion formidable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Formidable Forms
* Description: Quickly and easily create drag-and-drop forms
* Version: 6.16.2
* Version: 6.16.3
* Plugin URI: https://formidableforms.com/
* Author URI: https://formidableforms.com/
* Author: Strategy11 Form Builder Team
Expand Down
10 changes: 5 additions & 5 deletions js/formidable.js
Original file line number Diff line number Diff line change
Expand Up @@ -1318,7 +1318,7 @@ function frmFrontFormJS() {
/**
* Sets focus on a the first subfield of a combo field that has an error.
*
* @since x.x
* @since 6.16.3
*
* @param {HTMLElement} element
* @return {boolean} True if the focus was set on a combo field.
Expand Down Expand Up @@ -1387,7 +1387,7 @@ function frmFrontFormJS() {
/**
* Focus a visible input, or possibly delay the focus event until the form has faded in.
*
* @since x.x
* @since 6.16.3
*
* @param {HTMLElement} input
* @return {void}
Expand Down Expand Up @@ -1618,7 +1618,7 @@ function frmFrontFormJS() {
}

/**
* @since x.x
* @since 6.16.3
*
* @return {string} Unique key, used for duplicate checks.
*/
Expand Down Expand Up @@ -1956,7 +1956,7 @@ function frmFrontFormJS() {
* @return {void}
*/
invisible: function( classes ) {
console.warn( 'DEPRECATED: function frmFrontForm.invisible in vx.x' );
console.warn( 'DEPRECATED: function frmFrontForm.invisible in v6.16.3' );
jQuery( classes ).css( 'visibility', 'hidden' );
},

Expand All @@ -1967,7 +1967,7 @@ function frmFrontFormJS() {
* @return {void}
*/
visible: function( classes ) {
console.warn( 'DEPRECATED: function frmFrontForm.visible in vx.x' );
console.warn( 'DEPRECATED: function frmFrontForm.visible in v6.16.3' );
jQuery( classes ).css( 'visibility', 'visible' );
},

Expand Down
Loading