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.

Built from https://develop.svn.wordpress.org/branches/4.7@39500


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2016-12-05 14:00:35 +00:00
parent 8da7adb54f
commit ac2345ca32
2 changed files with 4 additions and 1 deletions

View File

@ -4128,6 +4128,9 @@ final class WP_Customize_Manager {
'type' => 'textarea',
'section' => 'custom_css',
'settings' => array( 'default' => $custom_css_setting->id ),
'input_attrs' => array(
'class' => 'code', // Ensures contents displayed as LTR instead of RTL.
),
) );
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-RC2-39498';
$wp_version = '4.7-RC2-39500';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.