Make WordPress Core


Ignore:
Timestamp:
02/06/2012 07:36:24 PM (13 years ago)
Author:
nacin
Message:

Do RTL detection based on a translated string, rather than a hardcoded list. Makes things a bit cleaner. fixes #19924, fixes #19600.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/load.php

    r19787 r19836  
    727727                    if ( defined( 'WP_SETUP_CONFIG' ) && file_exists( $location . '/admin-' . $locale . '.mo' ) )
    728728                        load_textdomain( 'default', $location . '/admin-' . $locale . '.mo' );
    729                     if ( WP_Locale::is_locale_rtl( $locale ) )
    730                         $text_direction = 'rtl';
    731729                    break 2;
    732730                }
Note: See TracChangeset for help on using the changeset viewer.