SyntekPro Toggle v1.6.3
What's Changed in v1.6.3
✨ Added
- GitHub Update Notifier —
includes/class-github-updater.phphooks into WordPress's transient update system. Every site running the plugin will now receive the standard WordPress "Update available" badge and one-click update whenever a new GitHub Release is published. Release notes appear in the "View version details" dialog. Remote data is cached for 12 hours. - Admin Bar Toggle — Right Side — The dark-mode toggle icon in the WordPress top admin bar is now placed in the right-side
top-secondarygroup (next to the user avatar and other quick-access items).
🔧 Changed
- Plugin Display Name — Renamed from
Syntekpro-ToggletoSyntekPro Toggle(hyphen removed) so the Plugins list and the WP dashboard show a clean, readable name.
🐛 Fixed
- "Show toggle button on frontend" not saving when unchecked — HTML checkboxes are absent from POST data when unchecked, so the previous
array_key_existsguard could never detect an unchecked state. Fixed by adding a hidden sentinel field (_enable_toggle_sentinel) so the sanitiser reliably writes'0'when the box is unchecked. - Toggle button invisible on some sites — Aggressive theme or page-builder CSS could override
position,z-index,display,visibility, orpointer-eventson the floating button and its icon spans. Hardened with!importanton layout-critical properties inpublic/css/style.css.
How auto-updates work
- Keep this plugin installed and active on your WordPress sites.
- Whenever a new GitHub Release is published (any tag matching
vX.Y.Z), connected sites will show the standard WordPress update notice within 12 hours (or immediately on a manual check from Dashboard → Updates). - Clicking Update now installs the new ZIP automatically — no manual downloads needed.
Full Changelog: https://github.com/syntekpro/Syntekpro-Toggle/blob/main/CHANGELOG.md