1.36.0
Copy URL: the copy-this-page-address widget as one module.
A new module (off by default) replaces a functions.php snippet and the
three-widget Elementor construction around it - a form carrying the address
through a dynamic tag, an absolutely positioned heading acting as the button,
and a raw HTML widget with the copy script.
[digitizer_copy_url] renders the whole widget: a read-only field with the
current page's address and a one-click copy button in one flex row. Clicking
anywhere copies through the clipboard API (with a fallback for contexts that
lack it), the button confirms and reverts, labels are settable per shortcode,
and the styling inherits the theme's font and colours with --dpt-cu-* custom
properties for overrides. Any number of instances per page.
[digitizer_geturl] keeps the snippet's contract for existing pages, hardened:
scheme and host come from the canonical home URL (correct behind a reverse
proxy, and without doubling a subdirectory install's path), Hebrew slugs are
decoded for reading while escaped delimiters, literal plus signs and anything
that is not valid UTF-8 keep their percent armour, literal quote characters
are encoded rather than deleted, and the bare shortcode output is escaped at
its HTML boundary so an ampersand never turns into a character reference.
Five Codex review rounds, all findings fixed with regression tests
(29 assertions for this module).