Skip to content

Commit

Permalink
Merge pull request #24 from kasparsd/fix/controls-js
Browse files Browse the repository at this point in the history
Fix: Revert renaming the function
  • Loading branch information
kasparsd authored Jul 29, 2018
2 parents 76fb0cc + e19b4c3 commit 6120816
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/js/controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}
};

function trackAnalyticsEvent( formId, eventName ) {
function formEventEnabled( formId, eventName ) {
formId = parseInt( formId );

if ( ! formId || ! window.cf7_extras.events[ eventName ] ) {
Expand Down
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Plugin URI: https://preseto.com/plugins/contact-form-7-controls
* Author: Kaspars Dambis
* Author URI: https://preseto.com
* Version: 0.6.0
* Version: 0.6.1
* License: GPL2
* Text Domain: contact-form-7-extras
*/
Expand Down
4 changes: 4 additions & 0 deletions readme.txt.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ The "[Storage for Contact Form 7](https://codecanyon.net/item/storage-for-contac

## Changelog

### 0.6.1 (July 29, 2018)

- Fix the missing `formEventEnabled()` function.

### 0.6.0 (July 27, 2018)

- Set the minimum supported version of WordPress [to 4.6 for the community translations to work](https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/#loading-text-domain).
Expand Down

0 comments on commit 6120816

Please sign in to comment.