Changeset 45621 for trunk/src/wp-includes/theme.php
- Timestamp:
- 07/11/2019 06:29:09 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r45599 r45621 1925 1925 */ 1926 1926 function add_editor_style( $stylesheet = 'editor-style.css' ) { 1927 global $editor_styles; 1928 1927 1929 add_theme_support( 'editor-style' ); 1928 1930 1929 if ( ! is_admin() ) {1930 return;1931 }1932 1933 global $editor_styles;1934 1931 $editor_styles = (array) $editor_styles; 1935 1932 $stylesheet = (array) $stylesheet; 1933 1936 1934 if ( is_rtl() ) { 1937 1935 $rtl_stylesheet = str_replace( '.css', '-rtl.css', $stylesheet[0] );
Note: See TracChangeset
for help on using the changeset viewer.