#13206 closed enhancement (fixed)
Create a new function is_rtl to simplify checking for text direction
| Reported by: | sivel | Owned by: | yoavf |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | RTL | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Based on a session at WordCamp SF nacin mentioned that a function is_rtl may be a nice addition to simplify checking for text direction and raise the support of RTL support in themes and plugins.
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [14360]) Introduce is_rtl(). Use it in core. It only becomes defined when locale is loaded, so it's impossible to use it too early. Deprecate the get_bloginfo('text_direction') call. fixes #13206.