Skip to content

Conversation

@javiercasares
Copy link
Owner

Summary

  • ensure the WordPress cookie constants are loaded before handling the unsubscribe request
  • keep the early opt-out handler compatible with multisite environments by bootstrapping default constants when needed

Testing

  • vendor/bin/phpstan analyse --memory-limit=1G wpvulnerability.php (fails: reports missing symbol definitions and DOING_CRON constant usage pre-existing in repository)
  • vendor/bin/phpunit (fails: WordPress test suite not installed in container)
  • vendor/bin/phpcs (fails: PHPCompatibilityWP sniff not available in container)

https://chatgpt.com/codex/tasks/task_b_6904851c62ec83218eacb8682bec931d

@amplify-security
Copy link
Contributor

🔍 Amplify code check status:   status looks good

⚠️ 0 issues detected in   📄 1 file and   ❇️ 10 lines of code   🛠️ using Opengrep

Last updated by commit 3a08242 at 2025-10-31 09:52:39 UTC.

@sonarqubecloud
Copy link

@javiercasares javiercasares merged commit a8df0fc into dev Oct 31, 2025
3 checks passed
@javiercasares javiercasares deleted the devel/fix-wordpress-multisite-unsubscribe-error branch October 31, 2025 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants