
# Changelog

## 1.3.24 | October 15, 2026

- Fixed issue where post content merge tags were not replaced on Page/Redirect confirmations when the entry was deleted by GP Disable Entry Creation.

## 1.3.23 | August 19, 2026

- Fixed issue where merge tags could not be inserted into Paragraph blocks in the Block Editor.

## 1.3.22 | July 8, 2026

- Fixed a potential PHP warning when replacing merge tags.

## 1.3.21 | May 14, 2025

- Removed redundant check for Gravity Perks in preparation for Spellbook.

## 1.3.20 | March 5, 2025

- Fixed issue where merge tags could be replaced inside Entries Blocks from GP Entry Blocks. As a part of this fix, a new filter hook named [`gppcmt_protected_block_types`](https://gravitywiz.com/documentation/gppcmt_protected_block_types) has been added.

## 1.3.19 | January 15, 2025

- Added logic to replace instances of `http://http(s)://` with the latter protocol. This is needed due to Block Editor forcing `http://` to be at the beginning of links.

## 1.3.18 | November 27, 2024

- Fixed regression that could cause a PHP warning.

## 1.3.17 | November 19, 2024

- Improved performance of Block Editor integration.
- Refactored logic for replacing merge tags in pages with blocks. Replacement is now done as early as possible like it did in version 1.3.15 and prior. This will reduce conflicts with more complex blocks.

## 1.3.16 | October 9, 2024

- Fixed issue where merge tags would not be replaced in dynamic blocks.

## 1.3.15 | September 11, 2024

- Refactored to use `GP_Plugin` as the base PHP class.

## 1.3.14

- Added support for Live Merge Tags in HTML field to render with Post Content Merge Tags.

## 1.3.13

- Fixed how we enqueue scripts in the Block Editor to improve compatibility with other plugins in the Gravity Forms ecosystem.

## 1.3.12

- Fixed issue where Pretty IDs were not generated if entries were created programmatically.

## 1.3.11

- Added support for outputting the value of array-based field values (e.g. Address and Name fields) when using the [eid] shortcode.

## 1.3.10

- Updated references to `String.prototype.format()` to use `String.prototype.gformFormat()` as the former will be removed in Gravity Forms 2.8.

## 1.3.9

- Updated [eid] shortcode's "field" attribute to return choice labels rather than values to match the output of merge tags.

## 1.3.8

- Improved PHP 8 compatibility by utilizing OpenSSL cryptography rather than `mcrypt` if it's available.

## 1.3.7

- Improved compatibility with GP Entry Blocks by not replacing general merge tags for posts/pages that contain an Entries Block.

## 1.3.6

- Fixed potential PHP notice when only using `{confirmation_url}` as a block's content.

## 1.3.5

- Fixed issue where added merge tags would immediately be removed when moving focus from the inserted merge tag.

## 1.3.4

- Fixed regression where the Pretty ID was not registered as an entry meta key which prevented it from showing up in options such as Field Maps.
- Added "Update URI" to plugin header to improve security.

## 1.3.3

- Fixed an issue where entry IDs were not decrypted correctly when using the OpenSSL implementation.

## 1.3.2

- Fixed issue where merge tag selector was not available in Gutenberg if using Gravity Forms 2.5.2.1 or newer.
- Fixed a UI issue where PCMT checkbox appeared on redirect confirmation settings.

## 1.3.1

- Fixed issue where "Edit Page Content" link would not show in Confirmation settings if using No Conflict mode.

## 1.2.4

- Added full compatibility with Gravity Forms 2.5. (#5)

## 1.3

- Added full compatibility with Gravity Forms 2.5. (#5)

## 1.2.3

- Improved Merge Tag selector compatibility with more Gutenberg blocks such as the Button block and third-party blocks.

## 1.2.2

- Updated Pretty ID to be properly registered entry meta and to make it available to feeds during submission.

## 1.2.1

- Fixed a crash that occurred in PHP 5.xx installations.

## 1.1.13

- Added support for adding Gravity Forms merge tags in the WordPress Block Editor (Gutenberg)!
- Added inline docs for "gppct_always_process_merge_tags" and "gppct_process_general_merge_tags".

## 1.2

- Added support for adding Gravity Forms merge tags in the WordPress Block Editor (Gutenberg)!
- Added inline docs for "gppct_always_process_merge_tags" and "gppct_process_general_merge_tags".

## 1.1.12

- Fixed issue where Global Merge Tags would not work with checkbox fields.

## 1.1.11

- Fixed issue where Post Content Merge Tags would cause a plugin initialization failure with the Classic Editor block in Gutenberg.

## 1.1.10

- Added support for logging.

## 1.1.9

- Added context parameter to shortcode to allow filtering attributes specifically for the [eid] shortcode.
- Fixed issue where apostrophes were incorrectly escaped.
- Updated plugin author.

## 1.1.8

- Fixed issue where query that fetched entry ID by pretty ID was too generic and could return an incorrect entry ID.

## 1.1.7

- Fixed issue where Pretty IDs were misinterpreted as raw entry IDs.

## 1.1.6

- Fixed issue where date-based conditional logic was not properly processed when a payment add-on was configured for the form.

## 1.1.5

- Fixed compatibility change for Gravity Forms 2.3 column name.

## 1.1.4

    - Added support for using merge tag modifiers on global merge tags (i.e. {Field Label:value}).

## 1.1.3

    - Added compatibility fix for Gravity Forms 2.3.

## 1.1.2

    - If Pretty ID and encryption is disabled for eids, the eid will be checked against the current user ID as well as the current visitor IP before display the contents.

## 1.1.1

- Added support for 'gppct_always_process_merge_tags' filter to allow always processing merge tags; even when no eid is passed.

## 1.1

- Enabled Pretty ID by default for eids. To disable add this to your theme's functions.php file: add_filter( 'gppcmt_enable_pretty_id', '__return_false' );
- Fixed deprecation issue with the use of GFCommon::encrypt() and GFCommon::decrypt() functions which have been deprecated in Gravity Forms 2.3.

## 1.0.5

- Fixed issue where Confirmation URL in Entry details metabox displayed awkwardly when other custom items were included in the metabox. 

## 1.0.4

- Fixed issue where spaces in the confirmation URL parameters were replaced with underscores.

## 1.0.3

- Added logging to get_entry() method.

## 1.0.2

- Added support for processing pre-population merge tags in the [noeid] shortcode.

## 1.0.1

- Fixed issue where required GF script (gravityforms.js) did not load if another GF script (form_admin.js) was already enqueued. 

## 1.0

- Added support for "pretty id". When enabled, eid parameter will be a 6 character alphanumeric string.

## 1.0.beta1.7

- Added support for [noeid] merge tag. Contents are displayed when no entry is available.

## 1.0.beta1.6

- Added support for not displaying any content within the [eid] merge tag if no entry is found.

## 1.0.beta1.5

    - Fixed error introduced by WordPress 4.7.2 where merge tag selector failed to insert merge tag.

## 1.0.beta1.4

    - Fixed error in FireFox which prevented merge tag selector from loading in Post Edit view.
    - Updated merge tag selector to truncate field labels to 40 characters.

## 1.0.beta1.3

- Fixed issue where anonymous functions are not supported by earlier PHP versions.

## 1.0.beta1.2

- Fixed conflict with ACF where merge tag selector on the post edit view was not working.

## 1.0.beta1.1

- Added support for processing pre-population merge tags without eid parameter