WordPress.org

Make WordPress Core

Ticket #24595: 24595.2.patch

File 24595.2.patch, 1.1 KB (added by DrewAPicture, 21 months ago)

Load genericons as an editor stylesheet

  • wp-content/themes/twentythirteen/functions.php

     
    4747 * Twenty Thirteen supports. 
    4848 * 
    4949 * @uses load_theme_textdomain() For translation/localization support. 
    50  * @uses add_editor_style() To add a Visual Editor stylesheet. 
     50 * @uses add_editor_style() To add Visual Editor stylesheets. 
    5151 * @uses add_theme_support() To add support for automatic feed links, post 
    5252 * formats, and post thumbnails. 
    5353 * @uses register_nav_menu() To add support for a navigation menu. 
     
    7070 
    7171        /* 
    7272         * This theme styles the visual editor to resemble the theme style, 
    73          * specifically font, colors, and column width. 
     73         * specifically font, colors, icons, and column width. 
    7474         */ 
    7575        add_editor_style( 'css/editor-style.css' ); 
     76        add_editor_style( 'fonts/genericons.css' ); 
    7677 
    7778        // Adds RSS feed links to <head> for posts and comments. 
    7879        add_theme_support( 'automatic-feed-links' );