WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/06/2010 05:15:26 AM (11 years ago)
Author:
dd32
Message:

Move admin CSS colour themes to the admin_init hook. Fixes #11625

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r12943 r12982  
    19971997
    19981998/**
     1999 * Registers the default Admin color themes
     2000 *
     2001 * @since 3.0.0
     2002 */
     2003function register_admin_color_themes() {
     2004    wp_admin_css_color('classic', __('Blue'), admin_url("css/colors-classic.css"), array('#073447', '#21759B', '#EAF3FA', '#BBD8E7'));
     2005    wp_admin_css_color('fresh', __('Gray'), admin_url("css/colors-fresh.css"), array('#464646', '#6D6D6D', '#F1F1F1', '#DFDFDF'));}
     2006
     2007/**
    19992008 * Display the URL of a WordPress admin CSS file.
    20002009 *
Note: See TracChangeset for help on using the changeset viewer.