mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-28 04:06:16 +08:00
Kirki 4.0.24
This commit is contained in:
parent
896957cd95
commit
79e4092e86
39 changed files with 1664 additions and 1315 deletions
|
@ -33,7 +33,7 @@ class Code extends Field {
|
|||
* @since 0.1
|
||||
* @var string
|
||||
*/
|
||||
protected $control_class = '\WP_Customize_Code_Editor_Control';
|
||||
protected $control_class = '\Kirki\Control\Code';
|
||||
|
||||
/**
|
||||
* Filter arguments before creating the setting.
|
||||
|
@ -123,7 +123,7 @@ class Code extends Field {
|
|||
if ( ! isset( $args['editor_settings']['codemirror']['mode'] ) ) {
|
||||
$args['editor_settings']['codemirror']['mode'] = $language;
|
||||
}
|
||||
|
||||
|
||||
if ( 'text/x-scss' === $args['editor_settings']['codemirror']['mode'] ) {
|
||||
$args['editor_settings']['codemirror'] = array_merge(
|
||||
$args['editor_settings']['codemirror'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue