WordPress.org

Make WordPress Core

Changeset 39499


Ignore:
Timestamp:
12/05/2016 01:54:58 PM (3 years ago)
Author:
westonruter
Message:

Customize: Ensure textarea for Custom CSS displays as code (in LTR) when an RTL language is active.

See #35395.
Fixes #39085.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r39466 r39499  
    41294129            'section'  => 'custom_css',
    41304130            'settings' => array( 'default' => $custom_css_setting->id ),
     4131            'input_attrs' => array(
     4132                'class' => 'code', // Ensures contents displayed as LTR instead of RTL.
     4133            ),
    41314134        ) );
    41324135    }
Note: See TracChangeset for help on using the changeset viewer.