Repository navigation
GH#1916: fix: avoid excluding absent current page - #1917
Conversation
Completion Summary
aidevops.sh v3.34.13 plugin for OpenCode v1.18.31 with gpt-5.6-terra spent 8m and 115,734 tokens on this as a headless worker. Merged via PR #1917 to main. Routing feedback
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review. 📝 WalkthroughWalkthrough
ChangesPage Options
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The change omits the exclusion when no current page ID exists and preserves it for positive IDs. No identified issue prevents merging. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)✨ 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 |
🔨 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
Avoid passing a false loop ID as a page exclusion outside the post loop.
Files Changed
inc/ui/class-base-element.php
Runtime Testing
Resolves #1916
aidevops.sh v3.34.13 plugin for OpenCode v1.18.31 with gpt-5.6-terra spent 7m and 115,734 tokens on this as a headless worker.
Summary by CodeRabbit