WordPress.org

Make WordPress Core

Changeset 17816


Ignore:
Timestamp:
05/05/11 22:46:37 (3 years ago)
Author:
iandstewart
Message:

Twenty Eleven: first pass at visual editor styles with RTL editor styles to come; See #17198

Location:
trunk/wp-content/themes/twentyeleven
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/functions.php

    r17802 r17816  
    6161 * functions.php file. 
    6262 * 
    63  * @uses add_theme_support() To add support for post thumbnails and automatic feed links. 
     63 * @uses load_theme_textdomain() For translation/localization support. 
     64 * @uses add_editor_style() To style the visual editor. 
     65 * @uses add_theme_support() To add support for post thumbnails, automatic feed links, and Post Formats. 
    6466 * @uses register_nav_menus() To add support for navigation menus. 
    6567 * @uses add_custom_background() To add support for a custom background. 
    66  * @uses load_theme_textdomain() For translation/localization support. 
    6768 * @uses add_custom_image_header() To add support for a custom header. 
    6869 * @uses register_default_headers() To register the default custom header images provided with the theme. 
     
    8485    if ( is_readable( $locale_file ) ) 
    8586        require_once( $locale_file ); 
     87 
     88    // This theme styles the visual editor with editor-style.css to match the theme style. 
     89    add_editor_style(); 
    8690 
    8791    // Load up our theme options page and related code. 
Note: See TracChangeset for help on using the changeset viewer.