Changeset 19797 for trunk/wp-includes/locale.php
- Timestamp:
- 01/31/2012 02:30:36 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/locale.php
r19761 r19797 188 188 $this->number_format['decimal_point'] = ('number_format_decimal_point' == $trans) ? '.' : $trans; 189 189 190 // Locale-specific tweaks 191 if ( self::is_locale_rtl( get_locale() ) ) 192 $this->text_direction = 'rtl'; 193 194 // Import the $text_direction global. 190 // Set text direction. 195 191 if ( isset( $GLOBALS['text_direction'] ) ) 196 192 $this->text_direction = $GLOBALS['text_direction']; 193 elseif ( is_textdomain_loaded( 'default' ) && self::is_locale_rtl( get_locale() ) ) 194 $this->text_direction = 'rtl'; 197 195 } 198 196
Note: See TracChangeset
for help on using the changeset viewer.