Ticket #13120: editor-syle-rtl.patch
| File editor-syle-rtl.patch, 615 bytes (added by , 16 years ago) |
|---|
-
wp-includes/theme.php
1572 1572 global $editor_styles; 1573 1573 $editor_styles = (array) $editor_styles; 1574 1574 $stylesheet = (array) $stylesheet; 1575 if ('rtl' == get_bloginfo('text_direction') ) { 1576 $rtl_stylesheet = str_replace('.css', '-rtl.css', $stylesheet[0]); 1577 $stylesheet[] = $rtl_stylesheet; 1578 } 1579 1575 1580 $editor_styles = array_merge( $editor_styles, $stylesheet ); 1576 1581 } 1577 1578 1582 /** 1579 1583 * Allows a theme to register its support of a certain feature 1580 1584 *