Customize: Ensure textarea
for Custom CSS displays as code (in LTR) when an RTL language is active.
See #35395. Fixes #39085. git-svn-id: https://develop.svn.wordpress.org/trunk@39499 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
89038700dd
commit
01876b9888
@ -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.
|
||||
),
|
||||
) );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user