Changeset 47305
- Timestamp:
- 02/18/2020 03:49:08 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r47287 r47305 3722 3722 } 3723 3723 3724 if ( 'text/css' === $type ) { 3725 $settings['codemirror'] = array_merge( 3726 $settings['codemirror'], 3727 array( 3728 'mode' => 'css', 3729 'lint' => true, 3730 'autoCloseBrackets' => true, 3731 'matchBrackets' => true, 3732 ) 3733 ); 3734 } elseif ( 'text/x-scss' === $type || 'text/x-less' === $type || 'text/x-sass' === $type ) { 3724 if ( in_array( $type, array( 'text/css', 'text/x-scss', 'text/x-less', 'text/x-sass' ), true ) ) { 3735 3725 $settings['codemirror'] = array_merge( 3736 3726 $settings['codemirror'],
Note: See TracChangeset
for help on using the changeset viewer.