WordPress.org

Make WordPress Core

Ticket #17603: 17603.2.diff

File 17603.2.diff, 1.1 KB (added by ryan, 4 years ago)

body.rtl

  • wp-content/themes/twentyeleven/inc/theme-options.css

     
    2727        border: 1px solid #dfdfdf; 
    2828        margin: 0 7px 0 3px; 
    2929        padding: 4px 14px; 
    30 } 
    31  No newline at end of file 
     30} 
     31 
     32body.rtl .image-radio-option label { 
     33        float: right; 
     34        margin: 0 2px 20px 30px; 
     35} 
  • wp-admin/admin-header.php

     
    8585if ( is_admin_bar_showing() ) 
    8686        $admin_body_class .= ' admin-bar'; 
    8787 
     88if ( is_rtl() ) 
     89        $admin_body_class .= ' rtl'; 
     90 
    8891$admin_body_class .= ' branch-' . str_replace( '.', '-', floatval( $wp_version ) ); 
    8992$admin_body_class .= ' version-' . str_replace( '.', '-', preg_replace( '/^([.0-9]+).*/', '$1', $wp_version ) ); 
    9093$admin_body_class .= ' admin-color-' . sanitize_html_class( get_user_option( 'admin_color' ), 'fresh' );