WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/08/2012 06:05:35 AM (9 years ago)
Author:
nacin
Message:

Use is_rtl() for html direction when possible. In sites.php, language_attributes() will always exist (MU vestige). When the DB is dead, language_attributes() is worse than a simple is_rtl() check. is_rtl() exists here due to wp_load_translations_early(). see #18180.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/sites.php

    r19579 r19862  
    211211            ?>
    212212            <!DOCTYPE html>
    213             <html xmlns="http://www.w3.org/1999/xhtml" <?php if ( function_exists( 'language_attributes' ) ) language_attributes(); ?>>
     213            <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    214214                <head>
    215215                    <title><?php _e( 'WordPress &rsaquo; Confirm your action' ); ?></title>
Note: See TracChangeset for help on using the changeset viewer.