mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-24 10:09:47 +01:00
aeb8d2fbad
The new `class-wp-locale.php` file is loaded in `locale.php` for backward compatibility purposes. See #26511. Fixes #37209. Built from https://develop.svn.wordpress.org/trunk@37889 git-svn-id: http://core.svn.wordpress.org/trunk@37830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
26 lines
381 B
PHP
26 lines
381 B
PHP
<?php
|
|
/**
|
|
* Locale API
|
|
*
|
|
* @package WordPress
|
|
* @subpackage i18n
|
|
* @since 1.2.0
|
|
*/
|
|
|
|
/** WP_Locale class */
|
|
require_once ABSPATH . WPINC . '/class-wp-locale.php';
|
|
|
|
/**
|
|
* Checks if current locale is RTL.
|
|
*
|
|
* @since 3.0.0
|
|
*
|
|
* @global WP_Locale $wp_locale
|
|
*
|
|
* @return bool Whether locale is RTL.
|
|
*/
|
|
function is_rtl() {
|
|
global $wp_locale;
|
|
return $wp_locale->is_rtl();
|
|
}
|