Skip to content

Releases: unsitofattobene/customizable-simple-click2chat-button

Version 1.4

Choose a tag to compare

@unsitofattobene unsitofattobene released this 14 Sep 10:30
60abb29
  • 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

Choose a tag to compare

@unsitofattobene unsitofattobene released this 24 May 15:22
04f2b46

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

Choose a tag to compare

@unsitofattobene unsitofattobene released this 16 Apr 12:03
04f2b46

What's Changed

  • Removed deprecated load_plugin_textdomain() call (translations are now loaded automatically by WordPress 6.7+)

Installation

  1. Download customizable-simple-click2chat-button.zip below
  2. In WordPress: Plugins → Add New → Upload Plugin
  3. Select the ZIP file and click Install Now
  4. Activate the plugin
  5. Configure under Click2Chat in the admin menu

Requires: WordPress 5.2+ · PHP 7.2+