Releases: unsitofattobene/customizable-simple-click2chat-button
Releases · unsitofattobene/customizable-simple-click2chat-button
Release list
Version 1.4
- Added an optional help message beside the WhatsApp button, displayed after a configurable delay.
- Added an optional contact dialog designed to encourage visitors to start a conversation.
- The help message and contact dialog can now be enabled independently. When the dialog is disabled, clicking takes the user directly to WhatsApp.
- Added extensive customization options for colors and messages.
- Added live previews for the button, help message, and contact dialog.
- Improved nonce renewal to prevent the settings page from expiring after being left open.
- Improved the plugin dashboard’s layout, usability, and settings organization.
- Tested up to WordPress 7.1.
Version 1.3
v1.3 — Phone number split into prefix + local number, Tested up to 7.0
- Tested up to: WordPress 7.0
- Phone field split into two separate inputs: international prefix
(with "+" displayed visually in front, default 39 Italy with a dynamic
"(default)" label) and local number - Both fields are now mandatory (HTML required attribute + red asterisk
in the label) - Server-side sanitization on save: spaces, dashes, "+" sign and any
non-digit characters are silently stripped (preg_replace in the
sanitize_callback of both register_setting calls) - One-shot automatic migration for users upgrading from 1.2: the existing
combined number is split into prefix + local using the standard E.164
country code list (greedy longest-match, 3-digit → 2-digit → 1-digit).
wab_phone_migrated_v1_3 flag prevents re-running the migration - Client-side validation: HTML5 pattern + live stripping of non-digit
characters via JS in both fields - readme.txt and leggimi.txt: version bump, FAQ rewritten for the two
fields, new FAQ about the automatic migration, changelog and upgrade
notice for 1.3 - Italian translation updated (.po + .mo): 4 new strings, 1 sentence
rephrased, .mo regenerated and verified (UTF-8 single-encoded) - CSS cache buster bumped to 1.3
Modified files:
- wabutton.php
- readme.txt
- leggimi.txt
- languages/customizable-simple-click2chat-button-it_IT.po
- languages/customizable-simple-click2chat-button-it_IT.mo
Version 1.2
What's Changed
- Removed deprecated
load_plugin_textdomain()call (translations are now loaded automatically by WordPress 6.7+)
Installation
- Download
customizable-simple-click2chat-button.zipbelow - In WordPress: Plugins → Add New → Upload Plugin
- Select the ZIP file and click Install Now
- Activate the plugin
- Configure under Click2Chat in the admin menu
Requires: WordPress 5.2+ · PHP 7.2+