#13206 closed enhancement (fixed)
Create a new function is_rtl to simplify checking for text direction
Reported by: | sivel | Owned by: | yoavf |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | RTL | Keywords: | |
Focuses: | Cc: |
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.
(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.