Make WordPress Core

Changeset 6891


Ignore:
Timestamp:
02/17/2008 11:53:36 PM (17 years ago)
Author:
ryan
Message:

Load teme editor css on admin_head hook. Props DD32. see #5871

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/theme-editor.php

    r6890 r6891  
    66
    77wp_reset_vars(array('action', 'redirect', 'profile', 'error', 'warning', 'a', 'file', 'theme'));
     8
     9add_action( 'admin_head', 'theme_editor_css' );
     10function theme_editor_css(){
     11    wp_admin_css( 'css/theme-editor' );
     12}
    813
    914$themes = get_themes();
     
    6469
    6570    require_once('admin-header.php');
    66 
    67     wp_admin_css( 'css/theme-editor' );
    6871
    6972    update_recently_edited($file);
Note: See TracChangeset for help on using the changeset viewer.