
# Changelog

## 1.6.10 | March 11, 2026

- Fixed an issue where minimum word count validation made optional fields behave as required.

## 1.6.9 | September 10, 2025

- Refactored to eliminate JavaScript that added inline CSS for styling; all styling is now handled via external or theme stylesheets for improved maintainability and compatibility.

## 1.6.8 | June 4, 2025

- Added additional debug logging during validation.

## 1.6.7 | May 14, 2025

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

## 1.6.6 | October 9, 2024

- Fixed memory leak during initialization that could occur if a form had a large number of fields with Word Count enabled.

## 1.6.5 | September 11, 2024

- Improved compatibility with Populate Anything by reinitializing word counts after applicable fields are dynamically refreshed.
- Refactored to use `GP_Plugin` as the base PHP class.

## 1.6.4 | June 6, 2024

- Fixed issue where the word count after submission did not reflect what was calculated on the frontend in some cases.

## 1.6.3

- Fixed an issue with word count not displaying on load.

## 1.6.2

- Fixed word count calculation consistency issues between the frontend and backend caused by whitespace characters.

## 1.6.1

- Fixed issue where fields with an "Administrative" or "Hidden" would be validated when they shouldn't be.

## 1.6

- Added support for Post Excerpt fields.
- Added "Update URI" to plugin header to improve security.

## 1.5

- Improved compatibility with Gravity Forms 2.5.

## 1.4.7

- Fixed an issue where the maximum word count was not enforced properly.

## 1.4.6

- Added [gpwc_word_count](https://gravitywiz.com/documentation/gpwc_word_count) PHP filter.
- Updated plugin author.

## 1.4.5

    - Added translation support.

## 1.4.4

    - Fixed error when no field had Rich Text Editor enabled

## 1.4.3

    - Added support for GF 2.0 Rich Text Editor on Paragraph Text fields

## 1.4.2

    - Updated to use GP_Bootstrap
    - Fixed styling issue with left and right aligned form labels.

## 1.4.1

    - Added support for displaying min word counter below the field (like the max word counter)

## 1.4

    - Fixed issue where fields with word counts were validated even when hidden via conditional logic

## 1.3.9

    - Added class "gp-word-count-label" to word count label (below input)

## 1.3.8

    - Fixed issue where textareaCounter script required gravityforms.js but was not including it

## 1.3.7

    - Added "truncate" option to script default args; allows the disabling of truncation

## 1.3.6

    - Added "gpwc_word_count" for filtering word count

## 1.3.5

    - Added support for origWordCount and passed it to textareaCounterUpdate event; allows custom functionality based on whether the text was truncated

## 1.3.4

    - Fixed issue where pasting in text could result in negative wordCount reported (was still correctly truncated)

## 1.3.3

    - Fixed styling issue where Max field setting was offset from the Min field setting

## 1.3.2

    - Fixed issue with field setting tooltips
    - Fixed styling issue where field settings were too close together

## 1.3.1

    - Added 'gpwc_script_args' filter for specifying labels used to indicate word counts

## 1.3

    - Added support for word count on Post Title fields

## 1.2.3

    - Fixed issue where fields on later pages were validated before the page they are on is submitted
    - Moved (and updated) documentation to GravityWiz.com

## 1.2.2

    - Fixed issue where line breaks and carriage returns were not accounted for when calculating word count

## 1.2.1

    - Fixed fatal error with missing Markdown() function
    - Fixed issue where if max word count not specified, it returned an error every time