Make WordPress Core

Ticket #16852: 16852_3.diff

File 16852_3.diff, 548 bytes (added by ramiy, 13 years ago)
  • wp-includes/general-template.php

     
    18901890        $attributes = array();
    18911891        $output = '';
    18921892
    1893         if ( function_exists( 'is_rtl' ) )
    1894                 $attributes[] = 'dir="' . ( is_rtl() ? 'rtl' : 'ltr' ) . '"';
     1893        if ( is_rtl() )
     1894                $attributes[] = 'dir="rtl"';
    18951895
    18961896        if ( $lang = get_bloginfo('language') ) {
    18971897                if ( get_option('html_type') == 'text/html' || $doctype == 'html' )