CoreFiles by mySites.guru
locale.php25 lines, 381 bytes, from wordpress-4.6.zip
Raw History Compare with 4.5.33
md5
dadf11e7a1ee22eff31eaf1db8d2a565
sha1
f55409294daf54b1b4858add14ec2dc1c60ace5e
sha256
ffa61090a5170208a9a202d59256f195628fec779282254c4ca7de0c8ab38ce6
<?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();
}

The same content is in 40 releases, WordPress 4.6-beta1 to 4.6.30. See them all, or every version of this file.