[wp-trac] [WordPress Trac] #55081: WordPress wp_get_document_title() does not do RTL.
WordPress Trac
noreply at wordpress.org
Sat Feb 5 12:33:38 UTC 2022
#55081: WordPress wp_get_document_title() does not do RTL.
--------------------------+------------------------------
Reporter: jsmoriss | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: | Focuses: rtl
--------------------------+------------------------------
Comment (by swissspidy):
> So, in an RTL language, as the current WordPress wp_get_document_title()
function operates, the post name will be left and the site name on the
right, regardless of LTR/RTL.
What Sergey mentioned above is that once the document title is displayed
in the browser, the text will be displayed correctly because the browser
will change text direction accordingly for RTL languages. Because of that
there would be no need to do any array reverse or similar in PHP.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55081#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list