Skip to content

Commit 6f4f895

Browse files
authored
Merge pull request #3316 from Strategy11/prepare_for_6.35
Prepare for 6.35
2 parents 34127e6 + e4dd641 commit 6f4f895

34 files changed

Lines changed: 1279 additions & 731 deletions

.github/workflows/push-asset-readme-update.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,3 @@ jobs:
1818
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
1919
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
2020
SLUG: formidable
21-
# GitHub main is ahead of SVN trunk between releases. Without this, the
22-
# action rsyncs the whole plugin, sees unreleased code / missing dist
23-
# files, and bails with "Other files have been modified".
24-
IGNORE_OTHER_FILES: true

changelog.txt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,32 @@
11
== Changelog ==
2+
= 6.35 =
3+
* Security: More strict sanitizing is now applied to entry key values before it gets used in the HTML of a form.
4+
* Security: The value that records who last saved an entry is now always set from the current user, not allowing for any custom values unless importing.
5+
* New: The shortcodes list now offers show options for more types, and long names are truncated so the list stays readable.
6+
* New: The Processor column on the Payments list page can now be sorted.
7+
* New: A message is now shown on the Payments list page after bulk deleting.
8+
* New: The required email input used for Stripe Link payments will now display a required asterisk like other required inputs.
9+
* New: A new frm_builder_after_field_label hook has been added for adding content after a label in the builder.
10+
* New: A new frm_payment_user_id filter has been added for setting which user a payment belongs to.
11+
* Performance: The builder now loads much faster when there are a lot of fields. Fields loaded with AJAX are now loaded in asynchronous batches.
12+
* Performance: The way the denylist is checked has been optimized, so spam checks are much faster when a large amount of text is submitted.
13+
* Performance: Pricing updates for Stripe payments are now debounced, and are skipped on pages with no payment intents.
14+
* Fix: A subscription would not get cancelled after it reached its Recurring Payment Limit.
15+
* Fix: Payment status actions could run twice for the same Stripe Link payment.
16+
* Fix: Multiple customer objects would get created for Stripe Link recurring payments.
17+
* Fix: Subscription plan details would not update after changing the trial period.
18+
* Fix: A Stripe Link redirect would use the URL from Form settings instead of the URL in the confirmation action that ran.
19+
* Fix: Square payments would not correctly follow conditional logic when two Square actions were used.
20+
* Fix: The wrong amount would get used when verifying a buyer with Square.
21+
* Fix: Connecting and disconnecting Square would go by whichever mode was active instead of the mode that was selected.
22+
* Fix: In Pro, the dropdown on a style card would not populate, leaving no way to delete a style or set one as the default.
23+
* Fix: In Pro, a section added after a partially sized field would move into the previous row after a reload.
24+
* Fix: Adding the frm_first layout class would not start a new row for a group.
25+
* Fix: A field id used in a description would not get switched when a form was duplicated or imported.
26+
* Fix: Creating a field with a missing or invalid options value would raise a PHP warning and store null.
27+
* Fix: The Embeds column would only update when a post was inserted, so it went stale when a page was updated or deleted.
28+
* The old hard coded widths for the frm_grid_2 through frm_grid_10 classes have been removed from the generated stylesheets, helping to reduce the file size of styles used on the front end.
29+
230
= 6.34 =
331
* Security: Additional validation has been added to guarantee that submitted HTML in form data by untrusted users cannot be used for XSS.
432
* New: Address fields are now included in Lite!

classes/controllers/FrmFieldsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static function load_field() {
6767
/**
6868
* Get a form's fields, as the form builder sees them, indexed by field id.
6969
*
70-
* @since x.x
70+
* @since 6.35
7171
*
7272
* @param int $form_id
7373
*

classes/controllers/FrmFormsController.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1855,7 +1855,7 @@ private static function advanced_helpers( $atts ) {
18551855
* Adds a shortcode for each part of a multi-part field to the field shortcode list,
18561856
* so a single part can be used on its own, like [25 show=first] for a Name field.
18571857
*
1858-
* @since x.x
1858+
* @since 6.35
18591859
*
18601860
* @param array $atts Includes 'field'.
18611861
*
@@ -1885,7 +1885,7 @@ public static function field_part_shortcodes( $atts ) {
18851885
/**
18861886
* Gets the parts of a multi-part field that can be shown on their own with a show= shortcode option.
18871887
*
1888-
* @since x.x
1888+
* @since 6.35
18891889
*
18901890
* @param stdClass $field
18911891
*
@@ -1903,7 +1903,7 @@ private static function get_field_parts( $field ) {
19031903
/**
19041904
* Allows add-ons to add the parts of their own multi-part fields.
19051905
*
1906-
* @since x.x
1906+
* @since 6.35
19071907
*
19081908
* @param array $parts Part labels keyed by the show= option value.
19091909
* @param stdClass $field The field the parts belong to.
@@ -1915,7 +1915,7 @@ private static function get_field_parts( $field ) {
19151915
* Gets the parts of a Name field that are in use. Only the parts included in the
19161916
* selected name layout hold a value, so the rest would always show as blank.
19171917
*
1918-
* @since x.x
1918+
* @since 6.35
19191919
*
19201920
* @param stdClass $field
19211921
*
@@ -1950,7 +1950,7 @@ private static function get_name_field_parts( $field ) {
19501950
* Gets the parts of an Address field that are in use. The address type decides which
19511951
* parts are on the form, so the rest would always show as blank.
19521952
*
1953-
* @since x.x
1953+
* @since 6.35
19541954
*
19551955
* @param stdClass $field
19561956
*

classes/controllers/FrmSettingsController.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class FrmSettingsController {
88
/**
99
* Icon for the API section, used whether the add-on is active or only a placeholder.
1010
*
11-
* @since x.x
11+
* @since 6.35
1212
*
1313
* @var string
1414
*/
@@ -221,7 +221,7 @@ private static function get_settings_tabs() {
221221
* an active plugin is left alone, so nothing stands in for a section that is
222222
* really there.
223223
*
224-
* @since x.x
224+
* @since 6.35
225225
*
226226
* @param array<array> $sections Sections registered for the Global Settings page so far.
227227
*
@@ -244,7 +244,7 @@ private static function add_inactive_addon_sections( &$sections ) {
244244
* Assigning a new key lands the section at the end of the array, so the array
245245
* is rebuilt to put it where it belongs.
246246
*
247-
* @since x.x
247+
* @since 6.35
248248
*
249249
* @param array<array> $sections Sections registered for the Global Settings page so far.
250250
* @param string $after Key of the section the new one follows. The new section goes last when this key is not there.
@@ -281,7 +281,7 @@ private static function insert_section_after( &$sections, $after, $key, $section
281281
* the user to upgrade to it, on a gradient button that sets the upgrade
282282
* apart from a one click install.
283283
*
284-
* @since x.x
284+
* @since 6.35
285285
*
286286
* @return array
287287
*/

classes/controllers/FrmUsageController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ public static function schedule_send() {
6161
* this run before the text domain loaded.
6262
*
6363
* @since 3.06.04
64-
* @deprecated x.x
64+
* @deprecated 6.35
6565
*
6666
* @param array $schedules Unused. The registered cron schedules, keyed by schedule name.
6767
*
6868
* @return array
6969
*/
7070
public static function add_schedules( $schedules = array() ) {
71-
_deprecated_function( __METHOD__, 'x.x' );
71+
_deprecated_function( __METHOD__, '6.35' );
7272
return $schedules;
7373
}
7474

classes/helpers/FrmAppHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class FrmAppHelper {
2929
*
3030
* @var string
3131
*/
32-
public static $plug_version = '6.34';
32+
public static $plug_version = '6.35';
3333

3434
/**
3535
* @var bool

0 commit comments

Comments
 (0)