Complete all items before tagging and deploying a new plugin version.
-
add-whatsapp-button.php— Update theVersion:line in the file docblockVersion: X.X.X -
readme.txt— UpdateStable tag:in the headerStable tag: X.X.X -
package.json— Update the"version"field"version": "X.X.X"
All three version values must match.
- Update
Tested up to:to the latest WordPress version you have tested against - Add a new entry to the
== Changelog ==section:= X.X.X = * Description of changes - Review the
== Description ==section — update if features have changed - Review
== Frequently Asked Questions ==— add/update entries if needed - Review
== Screenshots ==— update if the UI has changed
- All new code is tested locally in the LocalWP environment
- No debug output (
console.log,error_log,var_dump) left in production code - Run the JS build:
npm run build - Confirm
js/admin.jswas updated by the build - Check for PHP errors or warnings in the WordPress admin and on the frontend
- Test on a clean installation (no pre-existing settings) if the release changes stored data
- Tested against the latest stable WordPress release
- Tested against the minimum supported WordPress version (
Requires at least:in readme.txt) - Tested with PHP 7.4+ and PHP 8.x
- All changes committed and pushed to
master - No uncommitted changes (
git statusis clean)
- Push a version tag to trigger the GitHub Actions deploy:
git tag v<version> git push origin v<version>
- Monitor the Actions tab on GitHub for deploy status
- Verify the new version appears on the WordPress.org plugin page
- Install the update on a test site and confirm it works