Skip to content

Fix stale chromeless query flag in README - #327

Merged
AllTerrainDeveloper merged 1 commit into
trunkfrom
fix/readme-chromeless-query-param
Jul 9, 2026
Merged

Fix stale chromeless query flag in README#327
AllTerrainDeveloper merged 1 commit into
trunkfrom
fix/readme-chromeless-query-param

Conversation

@mmtr

@mmtr mmtr commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

What

The Window system — iframe + native section of README.md documented iframe windows loading admin pages with ?wp_desktop=1, but that flag doesn't exist in the code. The actual chromeless routing flag is desktop_mode_chromeless=1.

Why

Verified against the source:

  • includes/core/routing.php:275 gates chromeless mode on $_GET['desktop_mode_chromeless'].
  • The only wp_desktop occurrence in includes/ is the unrelated wp_desktop_mode_file_placements DB key.
  • docs/architecture.md also documents desktop_mode_chromeless=1, so the README line was simply stale.

Docs-only change; no build artifacts affected.

🤖 Generated with Claude Code

Open WordPress Playground Preview

The window-system section documented iframe windows loading with
`?wp_desktop=1`, but the actual routing flag is `desktop_mode_chromeless=1`
(see includes/core/routing.php). Update the README to match.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mmtr mmtr self-assigned this Jul 9, 2026
@AllTerrainDeveloper

Copy link
Copy Markdown
Collaborator

Good first issue :D

@AllTerrainDeveloper
AllTerrainDeveloper merged commit d638d8f into trunk Jul 9, 2026
5 checks passed
@AllTerrainDeveloper
AllTerrainDeveloper deleted the fix/readme-chromeless-query-param branch July 9, 2026 10:58
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.

2 participants