Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 4.0.2 #430

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.

This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/).

## [4.0.2]

### Fixed
- Geolocation added additional check for sent headers.

## [4.0.1]

### Fixed
Expand Down Expand Up @@ -418,6 +423,7 @@ This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a

- Initial production release.

[4.0.2]: https://github.com/infinum/eightshift-forms/compare/4.0.1...4.0.2
[4.0.1]: https://github.com/infinum/eightshift-forms/compare/4.0.0...4.0.1
[4.0.0]: https://github.com/infinum/eightshift-forms/compare/3.1.12...4.0.0
[3.1.12]: https://github.com/infinum/eightshift-forms/compare/3.1.11...3.1.12
Expand Down
2 changes: 1 addition & 1 deletion eightshift-forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Description: Eightshift Forms is a complete form builder plugin that utilizes modern Block editor features with multiple third-party integrations, bringing your project to a new level.
* Author: WordPress team @Infinum
* Author URI: https://eightshift.com/
* Version: 4.0.1
* Version: 4.0.2
* Text Domain: eightshift-forms
*
* @package EightshiftForms
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/Geolocation/Geolocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ public function setNormalLocationCookie(): void
return;
}

// Bailout if headers are already sent usually triggered by crawler bots.
if (headers_sent()) {
return;
}

try {
$cookieValue = $this->getUsersGeolocation();

Expand Down
Loading