Skip to content

Fix editor canvas probe authentication - #2510

Merged
chubes4 merged 1 commit into
mainfrom
fix/editor-canvas-probe-auth
Sep 13, 2026
Merged

Fix editor canvas probe authentication#2510
chubes4 merged 1 commit into
mainfrom
fix/editor-canvas-probe-auth

Conversation

@chubes4

@chubes4 chubes4 commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • install WordPress admin auth cookies before wordpress.editor-canvas-probe navigates to an editor target
  • cover the authenticated portable front-page probe in the routed browser contract

Root cause

The probe resolved target=front-page to /wp-admin/post.php, but unlike the other editor commands it launched a fresh browser without installing WordPress auth cookies. Real runs redirected away from the editor and timed out with iframe-missing.

Verification

  • npm run test:browser-routed-command-security
  • npm run build
  • SSI promotion evidence showed the preceding authenticated editor-open found one canvas iframe and 474/474 valid blocks; the unauthenticated probe alone failed

AI assistance

OpenAI GPT-5.6 Sol via OpenCode analyzed the retained CI browser artifacts, isolated the missing authentication call, implemented the focused fix, and ran the verification above. Chris Huber reviewed and orchestrated the work.

@chubes4
chubes4 merged commit 94b07c1 into main Sep 13, 2026
5 checks passed
@chubes4
chubes4 deleted the fix/editor-canvas-probe-auth branch September 13, 2026 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant