Customize: Ensure `textarea` for Custom CSS displays as code (in LTR) when an RTL language is active.
See #35395. Fixes #39085. Built from https://develop.svn.wordpress.org/trunk@39499 git-svn-id: http://core.svn.wordpress.org/trunk@39439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f0b2b3f98f
commit
c9b8a5dbbb
|
@ -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.
|
||||
),
|
||||
) );
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-alpha-39496';
|
||||
$wp_version = '4.8-alpha-39499';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue