fix: use yoda-safe redirect host checks#1454
Conversation
|
MERGE_SUMMARY: Updated Testing: |
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughIn ChangesHost Validation Tightening
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Admin Merge Fallback (t2247)Branch protection blocked the plain Merge method: Original branch-protection errorRemediation: If this bypass was unintended, revert with aidevops.sh v3.20.88 plugin for OpenCode v1.17.7 with unknown spent 3m and 44,421 tokens on this as a headless worker. |
🔨 Build Complete - Ready for Testing!📦 Download Build Artifact (Recommended)Download the zip build, upload to WordPress and test:
🌐 Test in WordPress Playground (Very Experimental)Click the link below to instantly test this PR in your browser - no installation needed! Login credentials: |
Summary
WP_Siteand string checks.Resolves #1453
Testing
vendor/bin/phpcs inc/domain-mapping/class-primary-domain.phpinc/domain-mapping/class-primary-domain.phpMERGE_SUMMARY: Updated
inc/domain-mapping/class-primary-domain.phpso the site-domain branch uses an explicitWP_Sitecheck and Yoda-safe string comparisons, satisfying the review follow-up while preserving redirect host behavior.Summary by CodeRabbit