feat(divi): add compatibility layer for Divi script dependencies and tests#244
Conversation
|
@claude can you review this? |
|
Claude finished @AllTerrainDeveloper's task in 1m 59s —— View job Code Review
The implementation approach is correct and well-reasoned. The diagnosis of both root causes (missing deps + cross-frame Bug — wrong user-meta key in
|
✅ WordPress Plugin Check Report
📊 ReportAll checks passed! No errors or warnings found. 🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check |
…Mode with iframe handling and user prompts
…nhance styling options
|
@claude can you review? we had to rework this, DIVI seems to not support being nested at all, and we couldn't add any kind of code injection to it. |
|
Claude finished @AllTerrainDeveloper's task in 3m 56s —— View job Code Review
The previous review's bugs (wrong meta key, missing Bug —
|
…d remove redundant action
|
@claude is it ok now? |
|
Claude finished @AllTerrainDeveloper's task in 58s —— View job Code Review
Yes — all three issues from the last review are fixed. Here's the rundown: Double-registration (was: Bug)The previous version registered the same function on both
Each has its own early-return guards so it only fires in the right context. Clean. Doc section (was: Critical)The
|
…o prevent unnecessary execution
|
@claude what's wrong? |
|
Claude finished @AllTerrainDeveloper's task in 1m 30s —— View job Checking current state
|
|
@claude you havent finished your review |
|
Claude finished @AllTerrainDeveloper's task in 2m 3s —— View job What was wrongCI was failing with 4 PHPUnit failures, all in Root cause: Commit The two tests that check for empty output ( Fix: Added
Pushed as |
… guard Commit 37edcd7 added a desktop_mode_compat_divi_is_active() guard to desktop_mode_compat_divi_vb_iframe_signal(), but four tests that exercise the positive path of that function were never updated to prime the Divi theme first. The function now bails early on each, returning empty output and failing the assertStringContainsString assertions. Add $this->activate_divi_theme() to the four affected tests. Co-Authored-By: Daniel López Sánchez (prismiwi2015) <AllTerrainDeveloper@users.noreply.github.com>

Fixes https://wordpress.org/support/topic/doesnt-work-with-divi-19/