WordPress.org

Make WordPress Core

Changeset 39500


Ignore:
Timestamp:
12/05/2016 01:59:49 PM (5 years ago)
Author:
westonruter
Message:

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

Merges [39499] onto 4.7 branch.
Fixes #39085 for 4.7.

Location:
branches/4.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7

  • branches/4.7/src/wp-includes/class-wp-customize-manager.php

    r39467 r39500  
    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.