Repository navigation
Add RTL Testing Site blueprint - #262
softglazee wants to merge 1 commit into
Conversation
Test using WordPress PlaygroundThe 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
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. Blueprint previews |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Adds a right-to-left test site to the gallery.
What it sets up:
/?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 blockWP_DEBUGandWP_DEBUG_LOGon with display off, so notices go towp-content/debug.logWhy: 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/cli3.1.60 (server --blueprint): the front end renders withdir="rtl" lang="ar", the test post shows every block, and nothing is written todebug.log.Arabic is used for the site language because the latest Urdu core language pack is for WordPress 5.4, so
setSiteLanguagewithurwould not load a current translation.Summary by CodeRabbit