Ticket #36985: 36985.patch
File 36985.patch, 493 bytes (added by , 9 years ago) |
---|
-
wp-includes/theme.php
1425 1425 function add_editor_style( $stylesheet = 'editor-style.css' ) { 1426 1426 add_theme_support( 'editor-style' ); 1427 1427 1428 if ( ! is_admin() )1428 if ( (bool) apply_filters( 'disable_editor_style', ! is_admin() ) ) { 1429 1429 return; 1430 } 1430 1431 1431 1432 global $editor_styles; 1432 1433 $editor_styles = (array) $editor_styles;