Skip to content

Releases: AltruCode/altru-cookie-consent

v1.0.3 - WordPress.org Code Review Compliance

Choose a tag to compare

@MoW187 MoW187 released this 04 Jul 09:05

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.php to use the plugin's namespace prefix.

v1.0.2 - WordPress.org Review Fixes

Choose a tag to compare

@MoW187 MoW187 released this 04 Jul 08:19

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 in wp_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 of esc_html(), allowing website administrators to safely insert links (e.g., privacy policy pages) in the banner message.
  • Disclosure: Added an == External Services == section in readme.txt to 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

Choose a tag to compare

@MoW187 MoW187 released this 03 Jul 05:31

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

Choose a tag to compare

@MoW187 MoW187 released this 03 Jul 06:48

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_path by aligning the plugin translation headers.
  • Verified deployment asset filtering within the release automation workflows.