diff --git wp-admin/theme-editor.php wp-admin/theme-editor.php
index c9adabe0cd4b21a289efc727a0b59afd912bfca9..f64e20c9dffaadcbc8d7df6dccbb65d26303ce7f 100644
|
|
$allowed_files = $theme->get_files( 'php', 1 ); |
62 | 62 | $has_templates = ! empty( $allowed_files ); |
63 | 63 | $style_files = $theme->get_files( 'css' ); |
64 | 64 | $allowed_files['style.css'] = $style_files['style.css']; |
65 | | $allowed_files += $style_files; |
| 65 | $allowed_files += apply_filters( 'wp_theme_editor_filetypes', $style_files, $theme ); |
66 | 66 | |
67 | 67 | if ( empty( $file ) ) { |
68 | 68 | $relative_file = 'style.css'; |