Skip to content

Add RTL Testing Site blueprint - #262

Open
softglazee wants to merge 1 commit into
WordPress:trunkfrom
softglazee:add-rtl-testing-site
Open

softglazee wants to merge 1 commit into
WordPress:trunkfrom
softglazee:add-rtl-testing-site

Conversation

@softglazee

@softglazee softglazee commented Oct 23, 2026 •

Copy link
Copy Markdown

Adds a right-to-left test site to the gallery.

What it sets up:

  • WordPress in Arabic (a right-to-left locale), latest version, PHP 8.3
  • A mixed-direction post as the landing page (/?name=rtl-mixed-direction-test): Arabic, Urdu and English paragraphs, numbers and a date, a link, a heading, a quote, a list and a code block
  • WP_DEBUG and WP_DEBUG_LOG on with display off, so notices go to wp-content/debug.log

Why: RTL problems come up often when testing Core and Gutenberg patches, and setting up an RTL site by hand takes several steps. This gives testers a single link.

Tested with @wp-playground/cli 3.1.60 (server --blueprint): the front end renders with dir="rtl" lang="ar", the test post shows every block, and nothing is written to debug.log.

Arabic is used for the site language because the latest Urdu core language pack is for WordPress 5.4, so setSiteLanguage with ur would not load a current translation.

Summary by CodeRabbit

  • New Features
    • Added an Arabic-language testing site with sample content that combines Arabic, Urdu, and English text, numbers, links, quotes, lists, and code. The site is configured to use Arabic and displays the sample post as its landing page, providing a ready-to-view example of mixed-direction content.

@github-actions

Copy link
Copy Markdown
Contributor

Test using WordPress Playground

The changes in this pull request can be previewed and tested using a WordPress Playground instance.

WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Some things to be aware of

  • All changes will be lost when closing a tab with a Playground instance.
  • All changes will be lost when refreshing the page.
  • A fresh instance is created each time one of the links below is clicked.

For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation.

Blueprint previews

@coderabbitai

coderabbitai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 601c90f4-adfc-4c07-b7b0-e570341bbb06
📥 Commits

Reviewing files that changed from the base of the PR and between 620985d and 3d6a9b2.

📒 Files selected for processing: 1
  • blueprints/rtl-testing-site/blueprint.json

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

📝 Walkthrough

Adds a WordPress Playground blueprint that configures an Arabic RTL site and publishes mixed-direction test content as the landing page.

Changes: RTL testing site

Layer / File(s) Summary
Configure the RTL test site
blueprints/rtl-testing-site/blueprint.json
Sets PHP 8.3 and the latest WordPress version. Configures Arabic as the site language, enables login and debug logging without displaying errors, and creates a published post with Arabic, Urdu, and English content as the landing page.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Feature

Possibly related issues

  • WordPress Gutenberg issue 54150 concerns missing lang and dir attributes in the editor iframe. This blueprint can exercise that behavior, but does not fix it.
Merge Risk: ⚪ Minimal · up to 3d6a9

No actionable merge-blocking risk is established; the blueprint is mergeable after normal checks.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely identifies the main change: adding an RTL testing site blueprint.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch has not been deployed

No deployments
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