Skip to content

v1.0.3 - WordPress.org Code Review Compliance

Latest

Choose a tag to compare

@MoW187 MoW187 released this 04 Jul 09:05
· 1 commit to main since this release

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.