Skip to content
Closed
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
Empty file modified .gitignore
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion bin/build-plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,5 @@ read answer
if [ "$answer" != "${answer#[Yy]}" ]; then
npm run git-release -- $version
else
echo "Changes not commited."
echo "Changes not committed."
fi
2 changes: 1 addition & 1 deletion bin/git-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ elif ! git diff --cached --exit-code > /dev/null; then
changed="file(s) staged"
fi
if [ ! -z "$changed" ]; then
echo "Commiting..."
echo "Committing..."
git commit -a -m "Prepare for v$version release"
git push
fi
Expand Down
38 changes: 19 additions & 19 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
* Fix: A Uncaught TypeError: Cannot access offset of type string on string error has been fixed when checking for add-on data.
* Fix: License expired emails would get incorrectly sent for rate limited API requests.
* Fix: Some color style settings would output invalid RGB values when using a RGB color as the style setting value.
* API requests sent for retreiving add-on and template data will now happen less frequently.
* API requests sent for retrieving add-on and template data will now happen less frequently.
* A few old deprecated global JavaScript functions have been removed including frm_resend_email, frmOnSubmit, and frmDeleteEntry.
* Some old CSS rules using -webkit- and -moz- prefixes have been removed, helping to reduce CSS file size.

Expand Down Expand Up @@ -139,7 +139,7 @@
* New: [frm-entry-links] shortcodes now support a new drafts=all option, and drafts=2 and drafts=3 options for filtering for in-progress and abandoned entries. It also now supports comma separated values like drafts="2,3" to include both in-progress and abandoned entries.
* New: Checkbox groups will no longer use an aria-required attribute on the group element. This was causing accessibility errors in axe DevTools and Google PageSpeed.
* New: The more options icon in the form builder now has screen reader text for improved accessibility.
* New: A new test flag colum has been added for payments for more accurate payment tracking.
* New: A new test flag column has been added for payments for more accurate payment tracking.
* Fix: A fix has been added to help avoid warnings and error messages when form data is sent in an unexpected format.
* Fix: Name fields would not properly reset to their default values when using a start over button or when the field was conditionally shown.
* Fix: Using drafts=both with an [frm-entry-links] shortcode would include abandoned and in-progress entries when it is intended to only include draft and submitted entries.
Expand Down Expand Up @@ -215,7 +215,7 @@
* New: A floating button has been added to some admin pages with links for documentation and support.
* New: When importing, if a matching trashed form is found based on a key match, it will be deleted before the import begins. This prevents conflicts that cause field shortcodes and conditional logic not to update as expected when imported.
* New: The field search has been improved. Inactive fields will no longer appear when there is no match, and categories will no longer appear when no children fields are visible.
* New: Captcha key settings will now be trimmed on save to avoid unecessary whitespace characters reported to cause issues in some cases.
* New: Captcha key settings will now be trimmed on save to avoid unnecessary whitespace characters reported to cause issues in some cases.
* New: Form previews inside of Gutenberg blocks are no longer interactive and can no longer be submitted when clicking the submit button in the preview.
* Fix: Rapidly clicking the preview button before the page has loaded would cause a JavaScript error preventing the preview button from working.

Expand Down Expand Up @@ -423,7 +423,7 @@
* Removed a restriction that was preventing a second summary field from being added after adding the first.

= 5.4.4 =
* New: Option icons are now be added dynamically when a field is selected to reduce the HTML required on load. This signficantly improves form builder performance for fields with many options.
* New: Option icons are now be added dynamically when a field is selected to reduce the HTML required on load. This significantly improves form builder performance for fields with many options.
* New: Added a new frm_before_duplicate_entry_values filter for customizing the data of a duplicated entry before it is saved.
* New: Maximum character length is now validated server side on form submit.
* Fix: The duplicate option pop up was triggering incorrectly when dragging new options in Chrome.
Expand Down Expand Up @@ -794,7 +794,7 @@
= 4.06 =
* New: Better accessibility for honeypot field and message after submit.
* New: Add a Dismiss all button in the inbox.
* New: Add 'frm_user_id_display' hook for showing something other than the dispay name by default in user ID fields.
* New: Add 'frm_user_id_display' hook for showing something other than the display name by default in user ID fields.
* Set the default styling to use grids since most browsers support it now.
* Fix: On some sites, permissions were preventing a form from being created from a template.
* Fix: The button colors were overriding eachother with some settings.
Expand Down Expand Up @@ -854,7 +854,7 @@
* Fix: In some cases, a PHP warning was shown when redirecting after submit.

= 4.04 =
* New: Show a warning if a WordPress parameter is used in the redirect URL to prevent unintented results.
* New: Show a warning if a WordPress parameter is used in the redirect URL to prevent unintended results.
* New: Added frm_is_field_type hook to set if an individual field is shown as radio or checkbox
* New: Show the new pricing fields in the builder for product education.

Expand Down Expand Up @@ -1055,7 +1055,7 @@
= 3.06 =
* New: Add one-click form creation from a form template and adjust the way a new form is created
* New: Add a new process for creating a custom form template
* Tweak: Create smaller XML fiels when exporting forms
* Tweak: Create smaller XML fields when exporting forms
* Tweak: Use the name of the form for XML exports when a single form is exported
* Tweak: Don't limit the width of the color picker in the form styler to avoid conflicts with some color picker plugins
* Fix: Prevent the 'Advanced' section from hiding on non-Formidable blocks
Expand Down Expand Up @@ -1204,7 +1204,7 @@
* **Pro Version Forms**
* New: Show a generated screenshot of the embedded form in the form builder rather than the first few fields
* Fix: Auto updates with the nested version going from 3.0 were failing and updating to lite
* Fix: Some default values were overiding non defaults when the form was displayed. This included user ID fields and other ifelds with separate values.
* Fix: Some default values were overriding non defaults when the form was displayed. This included user ID fields and other ifelds with separate values.
* Fix: Recompile the combined javascript file any time the pro version number changes
* Fix: Embedded forms were being changed when the parent form was saved
* Fix: Dynamic fields showing the entry key were blank with [25 show=key].
Expand Down Expand Up @@ -1353,7 +1353,7 @@
= 2.05.04 =
* Tweak: Remove recaptcha and website fields from sample Contact us form template since most people don't need them
* Fix: Updates for WP 4.9 compatibility. This includes preventing double filtering on contact form widgets and using the WordPress Codemirror scripts for the form CSS page.
* Fix: Prevent "are you sure" message that has started occuring from WordPress when saving a WordPress form
* Fix: Prevent "are you sure" message that has started occurring from WordPress when saving a WordPress form
* Fix: Correctly validate form fields with an Inside field label when HTML5 forms are not enabled
* Fix: Set the background color on loading form submit button. Depending on the hover button covers, the loading spinner may have been the same color as the button
* Fix: Additional security checks when getting POST or GET values in some places
Expand Down Expand Up @@ -1389,7 +1389,7 @@
* Fix: Prevent endless loops in conditional logic when fields are dependent on each other
* Fix: Searching number field values with LIKE was causing issues
* Fix: Use secure cookies on SSL sites
* Fix: Convert dates in certain formats more realibly before save
* Fix: Convert dates in certain formats more reliably before save
* Fix: Correctly duplicate fields inside a repeating section

= 2.05.01 =
Expand Down Expand Up @@ -2360,7 +2360,7 @@
* **Pro Forms Features:**
* Views can now be filtered by fields in the repeating sections.
* Added [parent_id] shortcode for use in views. This shortcode will only have a value when the displaying entries in repeating sections.
* Allow views to be created using the repeated entries. Since each repeating row is an entry in a hidden form, we can allow views to be created using those repeating rows for more flexability.
* Allow views to be created using the repeated entries. Since each repeating row is an entry in a hidden form, we can allow views to be created using those repeating rows for more flexibility.
* Added order parameter to frm-entry-links
* Allow options in a post status field to come from the form builder. The options should have separate values and the saved values can include 'publish', 'draft', 'private', 'scheduled'.
* Remove the option to lock field and form keys. This is more of a hassle than a feature.
Expand Down Expand Up @@ -2434,7 +2434,7 @@
= 2.0.09 =
* Add frm_time_to_check duplicate entries filter
* Allow custom JavaScript validation
* Add frm_do_html_shortcodes fiter
* Add frm_do_html_shortcodes filter
* Fix the duplicate entry check
* Include get_columns function in list tables for 4.3
* Use relative URLs in the stylesheet
Expand Down Expand Up @@ -2481,7 +2481,7 @@
* Fix timezones for searching by entry creation and updated dates in a view

= 2.0.08 =
* Fix security vulnerability allowing shortcodes to be excuted inside a form https://research.g0blin.co.uk/?p=618&d=i4ziyggqao0oz0L0vpUTd8KZwrO2P9Mw
* Fix security vulnerability allowing shortcodes to be executed inside a form https://research.g0blin.co.uk/?p=618&d=i4ziyggqao0oz0L0vpUTd8KZwrO2P9Mw
* Added frm_filter_final_form hook. This will need to be used to cover shortcodes that span multiple blocks of field HTML since we can't do a general shortcode replacement on the rendered form
* Revert change that prevented scripts from firing in the form success message
* Fix timestamp timezone on view/edit entry page
Expand Down Expand Up @@ -2556,7 +2556,7 @@
* Styling enhancements for left and right label settings
* Deactivate plugin after uninstall to prevent tables from being added back
* Add frm_text_block class to Layout tab
* Fix migration of email settigns that haven't been updated in over two years
* Fix migration of email settings that haven't been updated in over two years
* Fix emailing from only a multiple word name with no email
* Send emails for WordPress default if trying to send from Yahoo
* Pro: Trigger calculation update each time a row is added or removed from repeating section
Expand All @@ -2578,7 +2578,7 @@
* Pro: If a comma separated list of dates is sent for formatting, explode it before formatting
* Pro: Increase the backtrack limit when needed when replacing shortcodes in the view content if server has the limit below default
* Pro: Fix issue causing csv export error
* Pro: Fix the issue cuasing new posts to not be linked to a view if a field is selected for the post content
* Pro: Fix the issue causing new posts to not be linked to a view if a field is selected for the post content
* Pro: Fix issue some users are having with blank date fields
* Pro: Fix ending collapsible sections at the end of a section instead of waiting for the next section
* Pro: Fix firing calculations on page load when there are multiple calculations
Expand All @@ -2591,7 +2591,7 @@
* Add a fallback if dbDelta is missing
* Remove inline js from the draft button in the default HTML to prevent 404/403 errors on some servers. This change only applies to new forms
* Move the legend tag into the customizable HTML, but without a migration so it won't be added to existing forms
* Move the "before fields" HTML into the fieldset to it will be parallell with the "After fields" HTML
* Move the "before fields" HTML into the fieldset to it will be parallel with the "After fields" HTML
* Make sure partial form transients aren't saved for long forms. Make sure it's all or nothing.
* Make sure the parent_form_id column was added, and try to add it again if it's not there
* Pro: Allow [25 show=count]. This shortcode will return a count of items instead of the items themselves. Intended for use with a repeating section field, but would work with anything.
Expand Down Expand Up @@ -2709,7 +2709,7 @@
* Added a few ajax nonce checks but don't require valid nonce for logged-out users for caching reasons
* Allow data-something="value" inside the [input] short code
* Pro: Allow [default-message] to have short code parameters to set rtl (direction=rtl), font size (font_size="14px"), and styling (text_color="000" border_width="1px" border_color="000" bg_color="fff" alt_bg_color="eee").
* Pro: Added frm_html_scoll_box class for scrolling content in an HTML field
* Pro: Added frm_html_scroll_box class for scrolling content in an HTML field
* Pro: Allow recurring entries using values like "Third Wednesday of [frmcal-date]"
* Pro: Allow comma separated view filters for entry key and id
* Pro: Allow drafts=both in view short code and form results short code
Expand Down Expand Up @@ -2796,7 +2796,7 @@
* PRO: Added drafts parameter to view shortcode to show draft entries. [display-frm-data id=40 drafts=1]
* PRO: Switched star ratings to icon font
* PRO: Added multiple="multiple" into multiple file upload fields
* PRO: Allow field keys in the exlude_fields shortcode option
* PRO: Allow field keys in the exclude_fields shortcode option
* PRO: Allow updated-at, created-at, updated-by to by used in conditional statements
* PRO: Added update message and button to global default messages
* PRO: Added progress bar to csv import
Expand Down Expand Up @@ -2893,7 +2893,7 @@
* PRO: Updated file uploading progress bar with frm_uploading_files hook added to text
* PRO: Only show "create entry in form" box if user has permission to create entries
* PRO: Removed icons from error message
* PRO: Fixed collapsable entry list bullets
* PRO: Fixed collapsible entry list bullets
* PRO: Fixed dependent multi-select data from entries fields on edit
* PRO: Added frm_back_button_class hook
* PRO: Fixed quotation marks in conditional logic
Expand Down
2 changes: 1 addition & 1 deletion classes/controllers/FrmDashboardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public static function route() {
/**
* Init top counters widgets view args used to construct FrmDashboardHelper.
*
* @param false|object $latest_available_form If a form is availble, we utilize its ID to direct the 'Create New Entry' link of the entries counter CTA when no entries exist.
* @param false|object $latest_available_form If a form is available, we utilize its ID to direct the 'Create New Entry' link of the entries counter CTA when no entries exist.
* @param array $counters_value The counter values for "Total Forms" & "Total Entries".
*
* @return array
Expand Down
2 changes: 1 addition & 1 deletion classes/controllers/FrmFieldsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ public static function add_placeholder_to_select( $field ) {
}

/**
* Use HMTL5 placeholder with js fallback.
* Use HTML5 placeholder with js fallback.
*
* @param array $field
* @param array $add_html
Expand Down
14 changes: 7 additions & 7 deletions classes/controllers/FrmFormsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class FrmFormsController {

/**
* Track the form that opened the redirect URL in a new tab. This is used to check if we should show the default
* message in the currect tab.
* message in the current tab.
*
* @since 6.2
*
Expand Down Expand Up @@ -526,7 +526,7 @@ private static function fallback_when_page_template_part_is_not_supported_by_the

/**
* Calls core function to get a template part if it doesn't cause deprecation warnings. Otherwise skips the deprecation function call
* and renders required html fragements calling required functions.
* and renders required html fragments calling required functions.
*
* @since 6.7.1
* @param string $template
Expand Down Expand Up @@ -2454,7 +2454,7 @@ public static function get_met_on_submit_actions( $args, $event = 'create' ) {
return array();
}

// If a redirect action has already opened the URL in a new tab, we show the default message in the currect tab.
// If a redirect action has already opened the URL in a new tab, we show the default message in the current tab.
if ( ! empty( self::$redirected_in_new_tab[ $args['form']->id ] ) ) {
return array( FrmOnSubmitHelper::get_fallback_action_after_open_in_new_tab( $event ) );
}
Expand Down Expand Up @@ -2775,7 +2775,7 @@ private static function get_ajax_redirect_response_data( $args ) {
$args['message'] = self::prepare_submit_message( $args['form'], $args['entry_id'], $args );

ob_start();
self::show_lone_success_messsage( $args );
self::show_lone_success_message( $args );
$response_data['content'] = ob_get_clean();

$response_data['fallbackMsg'] = self::get_redirect_fallback_message( $args['success_url'], $args );
Expand All @@ -2801,7 +2801,7 @@ private static function redirect_after_submit_using_js( $args ) {
*
* @since 6.0
*
* @param int $delay_time Delay time in miliseconds.
* @param int $delay_time Delay time in milliseconds.
*/
$delay_time = apply_filters( 'frm_redirect_delay_time', 8000 );

Expand Down Expand Up @@ -2891,7 +2891,7 @@ public static function show_message_after_save( $atts ) {
self::show_form_after_submit( $atts );
}
} else {
self::show_lone_success_messsage( $atts );
self::show_lone_success_message( $atts );
}
}

Expand Down Expand Up @@ -2984,7 +2984,7 @@ private static function fill_atts_for_form_display( &$args ) {
*
* @since 2.05
*/
private static function show_lone_success_messsage( $atts ) {
private static function show_lone_success_message( $atts ) {
global $frm_vars;
$values = FrmEntriesHelper::setup_new_vars( $atts['fields'], $atts['form'], true );
self::maybe_load_css( $atts['form'], $values['custom_style'], $frm_vars['load_css'] );
Expand Down
2 changes: 1 addition & 1 deletion classes/controllers/FrmHooksController.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static function trigger_load_hook( $hooks = 'load_hooks' ) {
}
unset( $trigger_hooks );

// Instansiate Controllers.
// Instantiate Controllers.
foreach ( $controllers as $c ) {
foreach ( $hooks as $hook ) {
if ( is_callable( array( $c, $hook ) ) ) {
Expand Down
2 changes: 1 addition & 1 deletion classes/controllers/FrmOverlayController.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class FrmOverlayController {
private $recurring_execution = false;

/**
* The controller configs passed through construct. If empty the overlay will run normaly, it will open every time when open_overlay is called.
* The controller configs passed through construct. If empty the overlay will run normally, it will open every time when open_overlay is called.
*
* @var array Config {
*
Expand Down
2 changes: 1 addition & 1 deletion classes/controllers/FrmStylesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ public static function load_saved_css() {

/**
* Add an extra style rule to hide a broken style warning.
* To avoid cluttering the front end with any unecessary styles this is only added when the referer URL matches the styler.
* To avoid cluttering the front end with any unnecessary styles this is only added when the referer URL matches the styler.
*
* @since 6.2.3
*
Expand Down
Loading