GH#1503: guard invalid site duplication source#1538
Conversation
|
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 (2)
📝 WalkthroughWalkthrough
ChangesSource site validation guard
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Poem
🚥 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 |
MERGE_SUMMARY
|
🔨 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
Verification
aidevops.sh v3.22.0 plugin for OpenCode v1.17.9 with gpt-5.5 salvaged closed PR #1521 in a headless run. Merged via PR #1538 to main. |
Summary
Site_Duplicator::duplicate_site()before lower-level duplication code touches source tables.source_template_site_not_foundWP_Error.Verification
vendor/bin/phpunit --filter test_duplicate_invalid_source_sitevendor/bin/phpunit --filter Site_Duplicator_Testvendor/bin/phpcs inc/helpers/class-site-duplicator.php tests/WP_Ultimo/Helpers/Site_Duplicator_Test.phpFor #1503
Supersedes #1521
aidevops.sh v3.22.0 plugin for OpenCode v1.17.9 with gpt-5.5 salvaged closed PR #1521 in a headless run.
Summary by CodeRabbit