# Changelog

## 1.0.14 | March 19, 2026

- Fixed an issue where redirect URL validation used Site URL instead of Home URL in Bedrock-style setups.

## 1.0.13 | November 20, 2025

- Fixed an issue where GPSA replaced all `.entry-content` instances during AJAX refresh.

## 1.0.12 | October 29, 2025

- Fixed Divi Theme builder compatibility issue with refreshing gated page content after form submission.

## 1.0.11 | October 15, 2025

- Added `gpsa_protect_content()` helper function.
- Improved `[gpsa]` shortcode handling to improve compatibility with page builders and rendering the shortcode in other places such as theme templates.

## 1.0.10 | October 9, 2025

- Updated settings to show placeholders with global defaults instead of persisting global defaults to the Document or Block settings.

## 1.0.9 | October 2, 2025

- Added support for `gpsa_gated_url` merge tag.
- Added `gpsa_redirect_to` query param to form redirect URLs.

## 1.0.8 | September 23, 2025

- Fixed issue where adding a Gravity Form block to the Gutenberg editor could throw an uncaught error.
- Improved handling of shortcode inner content.

## 1.0.7 | September 17, 2025

- Fixed issue where Pages/Posts would sometimes redirect when `requires_access_behavior` setting was set to `show_message`.
- Fixed issue where page would get scrolled to the top after submitting an access form for a Block or Shortcode.
- Fixed issue where the content would not display after form submission if the Gravity Form was not submitted with AJAX.

## 1.0.6 | September 10, 2025

- Added visual indicator to blocks with Submit to Access enabled.
- Added `gpsa_document_settings` to allow modifying document level settings or enabling Submit to Access completely by filter.
- Added support for nested blocks.
- Fixed potential undefined variable error.
- Fixed Yoo Theme compatibility issue where document level access forms did not have Yoo Theme styling applied.
- Fixed Yoo Theme compatibilty issue where document level content was not shown after form submission.

## 1.0.5 | September 3, 2025

- Fixed issue where content loading messages were incorrectly shown for blocks whose "Requires Access Behavior" setting set to "Hide Block".

## 1.0.4 | August 27, 2025

- Fixed `wp_set_script_translations()` calls preventing translation of certain strings.

## 1.0.3 | August 20, 2025

- Added example for the `gpsa_has_access` filter.
- Fixed compatibility issue with Yoo Theme.

## 1.0.2 | August 13, 2025

- Fixed issues with blocks with non-default styles.
- Added block attribute registration to avoid issues with Gutenberg blocks that use the REST API.
- Removed support for Gravity Forms block type.

## 1.0.1 | August 6, 2025

- Fixed issue with incorrect arguments getting passed to `gpsa_load_form_via_ajax` and `gpsa_ajax_form_loading_message` filter hooks.
- Updated `gp_submit_to_access_storage_mode` filter to `gpsa_storage_mode` to match standard hook naming convention.
- Fixed `gpsa_ajax_form_loading_message` so that value is actually used in Frontend.

## 1.0 | July 30, 2025

- You shall not pass! …until this form is submitted.