Releases: panoramasdmkt/Webhooks-for-CPT
Releases · panoramasdmkt/Webhooks-for-CPT
Release list
v1.2.0 - Professional Overhaul
Improvements
- Professional Architecture: Refactored into a modular multi-file structure (
includes/,assets/,languages/). - Custom Prefixing: All functions and classes now use the
pdmkt_wfpprefix for total safety and branding. - I18n (Internationalization): Full multi-language support.
- New Languages: Official translations for Spanish, Portuguese, French, and German.
- Admin UI: Added custom CSS for a more polished settings table.
Developed by Panoramas Digital Marketing.
v1.2.1 - Compliance & Security Improvements
🛡️ Security & Code Quality
- Output Escaping: Replaced all
_e()calls withesc_html_e()to ensure safe data rendering in the WordPress admin. - Data Sanitization: Implemented a sanitize_settings callback for register_setting to validate and clean webhook URLs (
esc_url_raw) before saving them to the database. - Resource Versioning: Added the current plugin version (
1.2.1) to the admin style enqueue process to prevent browser caching issues. - I18n Best Practices: Removed the discouraged
load_plugin_textdomain()call and added requiredtranslators:comments for strings with placeholders.
📝 Documentation & Repository Headers
- Standardization: Generated the mandatory readme.txt file in the official WordPress.org format.
- Compatibility: Updated the
Tested up toheader to 6.9 to ensure maximum visibility and compliance with the latest WordPress releases. - Header Cleanup: Removed the redundant
Plugin URIthat matched the Author URI, resolving a critical validation error during the submission process. - Cleanup: Removed the non-standard
README.mdto maintain a clean, repository-friendly file structure.
v1.0.0 - Initial Release
Features
- Support for individual Webhook URLs per Custom Post Type (CPT).
- Automatic detection of JetEngine and other custom post types.
- Triggers on
save_post(create/update) andbefore_delete_post(delete). - Excludes standard WordPress posts and pages for a cleaner workflow.
Developed by Panoramas Digital Marketing.