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
16 changes: 16 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
== Changelog ==
= 6.25 =
* New: Style settings have been added to Email actions.
* New: reCAPTCHA and Turnstile now support a new frm_captcha_lang filter for modifying the captcha language.
* New: Square forms will now automatically enforce JavaScript validation before attempting to make the Square payment.
* New: Payment hooks like frm_payment_status_complete are now called even when no payments add-ons (Stripe or Authorize.Net) are active.
* Fix: An empty address will no longer be sent to Square when verifying the buyer to help reduce buyer verification issues.
* Fix: Square location IDs could be incorrectly set when connecting when another mode was active.
* Fix: Calculation settings would not properly load if the field was loaded using AJAX.
* Fix: Checkbox and radio button fields no longer include the aria-invalid attribute. Instead, this is applied to the group for better accessibility.
* Fix: Buttons could be cut off in an application pop-up when there was a lot of content in the description.
* Fix: Field unit dropdowns would lose its unit value.
* Fix: An Undefined property: stdClass::$item_key PHP warning when making Square payments has been fixed.
* Fix: The country code would not properly get sent to Square when using US as the address type.
* Fix: A Cannot access offset of type string on string fatal error that occurs when field options data is in an unexpected format has been fixed.
* Fix: Font sizes would not scale as expected after changing the base font size style setting for a second time.

= 6.24.1 =
* Fix: Importing entries with a CSV file stopped working with v6.24.

Expand Down
6 changes: 3 additions & 3 deletions classes/controllers/FrmEmailStylesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Controller for email styles
*
* @since x.x
* @since 6.25
*
* @package Formidable
*/
Expand Down Expand Up @@ -60,7 +60,7 @@ public static function get_email_styles() {
/**
* Filter the email styles.
*
* @since x.x
* @since 6.25
*
* @param array[] $email_styles The email styles.
* @return array
Expand Down Expand Up @@ -344,7 +344,7 @@ public static function get_email_style_settings() {
/**
* Filter the email style settings value.
*
* @since x.x
* @since 6.25
*
* @param array $settings The settings value.
*/
Expand Down
2 changes: 1 addition & 1 deletion classes/controllers/FrmFormTemplatesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ public static function ajax_create_template() {
/**
* Handle AJAX request to subscribe the user to ActiveCampaign.
*
* @since x.x
* @since 6.25
*
* @return void
*/
Expand Down
4 changes: 2 additions & 2 deletions classes/controllers/FrmSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ public static function captcha_settings() {
/**
* Shows email settings.
*
* @since x.x
* @since 6.25
*/
public static function email_settings() {
$frm_settings = FrmAppHelper::get_settings();
Expand Down Expand Up @@ -482,7 +482,7 @@ public static function page_search() {
/**
* Shows a fake color picker.
*
* @since x.x
* @since 6.25
*
* @param string $color Color value.
*/
Expand Down
44 changes: 22 additions & 22 deletions classes/controllers/FrmTestModeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
}

/**
* @since x.x
* @since 6.25
*/
class FrmTestModeController {

/**
* Maybe add the test mode container.
*
* @since x.x
* @since 6.25
*
* @param string $html
* @return string
Expand All @@ -22,7 +22,7 @@ public static function maybe_add_test_mode_container( $html ) {
}

/**
* @since x.x
* @since 6.25
*/
do_action( 'frm_test_mode_container' );

Expand All @@ -42,7 +42,7 @@ public static function maybe_add_test_mode_container( $html ) {
}

/**
* @since x.x
* @since 6.25
*
* @return bool
*/
Expand All @@ -54,7 +54,7 @@ public static function should_add_test_mode_container() {
/**
* Filter this so the add-on can enable it when applicable in other cases (like when submitting with AJAX).
*
* @since x.x
* @since 6.25
*
* @param bool $is_test_mode
*/
Expand All @@ -64,7 +64,7 @@ public static function should_add_test_mode_container() {
/**
* Get the testing mode container.
*
* @since x.x
* @since 6.25
*
* @return string
*/
Expand All @@ -79,7 +79,7 @@ function () {
/**
* Render the testing mode container.
*
* @since x.x
* @since 6.25
*
* @return void
*/
Expand Down Expand Up @@ -148,7 +148,7 @@ private static function render_testing_mode_container() {
* and for the lock icon in the upgrade modals.
* It is also required for the tooltip icon used for the enabled form actions setting.
*
* @since x.x
* @since 6.25
*
* @return void
*/
Expand All @@ -159,7 +159,7 @@ private static function include_svg() {
/**
* Check GET and POST to determine the current form key.
*
* @since x.x
* @since 6.25
*
* @return false|string
*/
Expand All @@ -185,7 +185,7 @@ private static function get_form_key_from_request() {
/**
* Check the request data to determine which action IDs are currently enabled.
*
* @since x.x
* @since 6.25
*
* @param array $form_actions
* @return array
Expand All @@ -197,7 +197,7 @@ private static function get_enabled_form_action_ids( $form_actions ) {
* Filters the list of enabled form action IDs.
* This way the add-on can modify it when required.
*
* @since x.x
* @since 6.25
*
* @param array $all_form_action_ids
*/
Expand All @@ -207,7 +207,7 @@ private static function get_enabled_form_action_ids( $form_actions ) {
/**
* Determine if the upsell should be shown.
*
* @since x.x
* @since 6.25
*
* @return bool
*/
Expand All @@ -222,7 +222,7 @@ private static function should_show_upsell() {
/**
* Determine if the Test Mode add-on is installed and active.
*
* @since x.x
* @since 6.25
*
* @return bool
*/
Expand All @@ -237,7 +237,7 @@ private static function test_mode_addon_exists() {
/**
* Get the list of roles that can be selected in the test mode container.
*
* @since x.x
* @since 6.25
*
* @return array
*/
Expand All @@ -256,7 +256,7 @@ private static function get_roles() {
/**
* Get the selected role for test mode.
*
* @since x.x
* @since 6.25
*
* @return string
*/
Expand All @@ -266,7 +266,7 @@ private static function get_selected_role() {
/**
* Filters the selected role for test mode so the add-on can modify it when required.
*
* @since x.x
* @since 6.25
*
* @param string $selected_role
*/
Expand All @@ -276,15 +276,15 @@ private static function get_selected_role() {
/**
* Get the arguments for the disabled required fields toggle.
*
* @since x.x
* @since 6.25
*
* @return array
*/
private static function get_disabled_required_fields_toggle_args() {
/**
* Filters the arguments for the disabled required fields toggle so the add-on can modify it.
*
* @since x.x
* @since 6.25
*
* @param array $args
*/
Expand All @@ -302,15 +302,15 @@ private static function get_disabled_required_fields_toggle_args() {
/**
* Get the arguments for the show all hidden fields toggle.
*
* @since x.x
* @since 6.25
*
* @return array
*/
private static function get_show_all_hidden_fields_toggle_args() {
/**
* Filters the arguments for the show all hidden fields toggle so the add-on can modify it.
*
* @since x.x
* @since 6.25
*
* @param array $args
*/
Expand All @@ -328,7 +328,7 @@ private static function get_show_all_hidden_fields_toggle_args() {
/**
* Register and enqueue the required scripts for the test mode container Lite functionality.
*
* @since x.x
* @since 6.25
*
* @return void
*/
Expand Down Expand Up @@ -356,7 +356,7 @@ public static function register_and_enqueue_required_scripts() {
/**
* Register and enqueue the required scripts for the multiselect dropdown.
*
* @since x.x
* @since 6.25
*
* @return void
*/
Expand Down
2 changes: 1 addition & 1 deletion classes/helpers/FrmAppHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class FrmAppHelper {
*
* @var string
*/
public static $plug_version = '6.24.1';
public static $plug_version = '6.25';

/**
* @var bool
Expand Down
2 changes: 1 addition & 1 deletion classes/helpers/FrmDashboardHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public function get_license_management() {
/**
* Get free templates banner template.
*
* @since x.x
* @since 6.25
*
* @return void
*/
Expand Down
6 changes: 3 additions & 3 deletions classes/helpers/FrmEmailCollectionHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
/**
* Provides helper functions for email collection and subscription.
*
* @since x.x
* @since 6.25
*/
class FrmEmailCollectionHelper {

/**
* When the user consents to receiving news of updates, subscribe their email to ActiveCampaign.
*
* @since x.x
* @since 6.25
*
* @param string $email The email address to subscribe to ActiveCampaign.
* @return void
Expand Down Expand Up @@ -61,7 +61,7 @@ public static function subscribe_to_active_campaign( $email = '' ) {
/**
* Check if an email is fake, test, or local development email.
*
* @since x.x
* @since 6.25
*
* @param string $email The email address to check.
* @return bool True if the email is fake/test, false if valid.
Expand Down
6 changes: 3 additions & 3 deletions classes/helpers/FrmFormTemplatesHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public static function show_upgrade_renew_cta( $args ) {
/**
* Echo the get free templates banner.
*
* @since x.x
* @since 6.25
*
* @return void
*/
Expand All @@ -227,7 +227,7 @@ public static function echo_get_free_templates_banner() {
/**
* Checks if the get free templates banner should be displayed.
*
* @since x.x
* @since 6.25
*
* @return bool
*/
Expand All @@ -238,7 +238,7 @@ public static function needs_get_free_templates_banner() {
/**
* Checks if a template needs the free plan override.
*
* @since x.x
* @since 6.25
*
* @param array $template The template data.
* @return bool
Expand Down
2 changes: 1 addition & 1 deletion classes/models/FrmForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ public static function &is_visible_to_user( $form ) {
}

/**
* @since x.x
* @since 6.25
*
* @param bool $visible
* @param object $form
Expand Down
4 changes: 2 additions & 2 deletions classes/models/FrmFormTemplateApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected function skip_categories() {
/**
* Set the free license code option value.
*
* @since x.x
* @since 6.25
*
* @param string $code The license code to set.
*/
Expand All @@ -74,7 +74,7 @@ public static function set_free_license_code( $code ) {
/**
* Get the free license code option value.
*
* @since x.x
* @since 6.25
*
* @return false|string The license code, or false if not set.
*/
Expand Down
4 changes: 2 additions & 2 deletions classes/models/FrmInbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public function filter_messages( &$messages, $type = 'unread' ) {
/**
* Check if a message has started and is not expired.
*
* @since x.x
* @since 6.25
*
* @param array $message
* @return bool
Expand All @@ -204,7 +204,7 @@ private function within_valid_timeframe( $message ) {
/**
* Check if a message has actually started, so we can prevent showing something that is queued up early.
*
* @since x.x
* @since 6.25
*
* @param array $message
* @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 @@ -399,7 +399,7 @@ public function uninstall() {
* In older versions of Lite, it's possible we've saved the wrong location ID.
* So force it to get valid values again.
*
* @since x.x
* @since 6.25
*
* @return void
*/
Expand Down
Loading
Loading