Releases: AltruCode/altru-cookie-consent
Release list
v1.0.3 - WordPress.org Code Review Compliance
This release resolves all automated PHPCS check warnings for WordPress.org compliance, cleans up global namespace variables/functions, and enhances input sanitization.
Key Changes in this Release
- WordPress.org PHPCS Compliance:
- Safely unslashed and sanitized
$_COOKIE['altru_cookie_consent']values before parsing. - Prefixed all template-level variables inside the public banner with
$altru_to protect the global scope from namespace pollution. - Renamed global bootstrap functions inside
altru-cookie-consent.phpto use the plugin's namespace prefix.
- Safely unslashed and sanitized
v1.0.2 - WordPress.org Review Fixes
This release addresses all initial feedback from the WordPress.org plugin review team, aligning the plugin with modern coding standards, translation practices, and security guardrails.
Key Changes in this Release
- Security Updates: Added defense-in-depth direct file access checks (
ABSPATH) to all PHP files and added capability checks (manage_options) to admin options page rendering. - Dynamic Styling Optimization: Refactored dynamic custom CSS generation to use the standard WordPress function
wp_add_inline_style()instead of manual stylesheet outputs inwp_head. - Modernized Translations: Cleaned up translation loading by removing the deprecated manual
load_plugin_textdomain()calls, deferring translation tasks to the modern WordPress.org automated translation engine. - HTML Support in Banner Message: Enhanced the public cookie banner template to use
wp_kses_post()instead ofesc_html(), allowing website administrators to safely insert links (e.g., privacy policy pages) in the banner message. - Disclosure: Added an
== External Services ==section inreadme.txtto clearly document that script matching patterns (e.g., Google Analytics, Facebook Pixel) are used solely to block them on the client side until consent is granted.
v1.0.0 - Initial Release
We are excited to announce the initial open-source release of Altru Cookie Consent! 🎉
A lightweight, modular, and 100% free cookie consent manager for WordPress, built with privacy and compliance in mind.
🚀 Key Features included in this release:
- 100% GDPR/DSGVO Compliant UI: Visual equality between Accept and Reject buttons to prevent dark patterns.
- Granular Consent Options: Easy toggles for Necessary, Functional, Analytics, and Marketing cookie categories.
- Subtle Consent Withdrawal: Floating cookie (🍪) trigger icon in the viewport corner for instant settings adjustments.
- Bulletproof Output Buffering: Server-side blocking engine that intercepts even hardcoded tracking scripts before user consent.
- Multilingual Readiness: Out-of-the-box integration with Polylang and WPML String Translation architectures.
Thank you for supporting AltruCode and clean, transparent open-source development!
v1.0.1 - WordPress.org Compatibility Fix
This patch release addresses metadata and structural requirements for the official WordPress.org Plugin Directory automated review system.
🔧 Fixes and Improvements
- Resolved
plugin_header_nonexistent_domain_pathby aligning the plugin translation headers. - Verified deployment asset filtering within the release automation workflows.