Skip to content

docs: Bump tested version to 7.1 - #46

Merged
eug-L merged 3 commits into
masterfrom
docs/bump-wp-tested-version
Nov 12, 2026
Merged

eug-L merged 3 commits into
masterfrom
docs/bump-wp-tested-version

Conversation

@jao-tawk

Copy link
Copy Markdown

Whats new

Bump the version from 6.9 to 7.1. Run the Full test suite and pin 7.1 wordpress image to test it properly 100% in latest version of wordpress.

@jao-tawk
jao-tawk requested a review from eug-L September 15, 2026 07:24
@jao-tawk jao-tawk self-assigned this Sep 15, 2026
@greptile-apps

greptile-apps Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 4/5

[Low impact] The changes affect published plugin and compatibility labels only.

Fix the upgrade path before merging so the release does not clear saved Secure Mode keys.

Fix All in Claude CodeFindings

  1. P1 Updating clears saved keys ▶
  2. P2 Tests can check another version ▶
Fix with agent prompt
### Issue 1
tawkto/tawkto.php:9
Bumping the plugin version makes sites with a saved `tawkto-version` of `0.9.3` run old upgrades again. `TawkToUpgradeManager::start()` checks each upgrade against the new version, but not the saved version. This reruns `TawkToUpgradeVersion090::upgrade()`, which replaces the saved `js_api_key` with an empty string. Sites that configured Secure Mode lose their key after updating.

Skip upgrades that already ran and save the current plugin version when finished.

### Issue 2
tawkto/readme.txt:undefined-6
The PR declares WordPress 7.1 support and says tests should be pinned to that version, but the test setup still uses `wordpress:latest` and runs `wp core update`. Repeat runs can therefore check a different WordPress version without any repository change. Pin both the image and the setup script to 7.1 so tests consistently check the release named here.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Summary

Updates the plugin release to 0.9.4 and declares WordPress 7.1 compatibility.

  • The plugin’s release labels move to 0.9.4, and its tested WordPress version moves to 7.1.

Reviews (5) · Last reviewed commit: "chore: update lock file" · Reviewed by Greptile

Comment thread package.json Resolved
@eug-L
eug-L force-pushed the docs/bump-wp-tested-version branch from fbc83fe to 9a5190d Compare November 12, 2026 03:07
Comment thread tawkto/readme.txt
Requires PHP: 5.6
Tested up to: 6.9
Stable tag: 0.9.3
Tested up to: 7.1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Tests can check another version

The PR declares WordPress 7.1 support and says tests should be pinned to that version, but the test setup still uses wordpress:latest and runs wp core update. Repeat runs can therefore check a different WordPress version without any repository change. Pin both the image and the setup script to 7.1 so tests consistently check the release named here.

Prompt To Fix With AI
This is a comment left during a code review.
Path: tawkto/readme.txt
Line: 6

Comment:
**Tests can check another version**

The PR declares WordPress 7.1 support and says tests should be pinned to that version, but the test setup still uses `wordpress:latest` and runs `wp core update`. Repeat runs can therefore check a different WordPress version without any repository change. Pin both the image and the setup script to 7.1 so tests consistently check the release named here.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Fix in Claude Code Fix in Cursor Fix in Codex

@eug-L
eug-L merged commit b043e8a into master Nov 12, 2026
2 of 3 checks passed
@eug-L
eug-L deleted the docs/bump-wp-tested-version branch November 12, 2026 03:10
Comment thread tawkto/tawkto.php
* Plugin URI: https://www.tawk.to
* Description: Embeds Tawk.to live chat widget to your site
* Version: 0.9.3
* Version: 0.9.4

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Updating clears saved keys

Bumping the plugin version makes sites with a saved tawkto-version of 0.9.3 run old upgrades again. TawkToUpgradeManager::start() checks each upgrade against the new version, but not the saved version. This reruns TawkToUpgradeVersion090::upgrade(), which replaces the saved js_api_key with an empty string. Sites that configured Secure Mode lose their key after updating.

Skip upgrades that already ran and save the current plugin version when finished.

Prompt To Fix With AI
This is a comment left during a code review.
Path: tawkto/tawkto.php
Line: 9

Comment:
**Updating clears saved keys**

Bumping the plugin version makes sites with a saved `tawkto-version` of `0.9.3` run old upgrades again. `TawkToUpgradeManager::start()` checks each upgrade against the new version, but not the saved version. This reruns `TawkToUpgradeVersion090::upgrade()`, which replaces the saved `js_api_key` with an empty string. Sites that configured Secure Mode lose their key after updating.

Skip upgrades that already ran and save the current plugin version when finished.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Fix in Claude Code Fix in Cursor Fix in Codex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants