WordPress.org

Make WordPress Core

Changeset 18125


Ignore:
Timestamp:
06/02/11 22:19:58 (4 years ago)
Author:
ryan
Message:

Add rtl class to the admin body if is_rtl(). RTL fixes for twentyeleven theme-options.php. Props rasheed. fixes #17603

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r17957 r18125  
    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 ) ); 
  • trunk/wp-content/themes/twentyeleven/inc/theme-options.css

    r17754 r18125  
    2929    padding: 4px 14px; 
    3030} 
     31 
     32body.rtl .image-radio-option label { 
     33    float: right; 
     34    margin: 0 2px 20px 30px; 
     35} 
Note: See TracChangeset for help on using the changeset viewer.