WordPress.org

Make WordPress Core

Changeset 26814


Ignore:
Timestamp:
12/09/2013 12:48:15 AM (6 years ago)
Author:
nacin
Message:

Avoid notices when default and light are not registered color schemes. see #26468.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/misc.php

    r26793 r26814  
    569569    if ( isset( $_wp_admin_css_colors['fresh'] ) ) {
    570570        // Set Default ('fresh') and Light should go first.
    571         $_wp_admin_css_colors = array_merge( array( 'fresh' => '', 'light' => '' ), $_wp_admin_css_colors );
     571        $_wp_admin_css_colors = array_filter( array_merge( array( 'fresh' => '', 'light' => '' ), $_wp_admin_css_colors ) );
    572572    }
    573573
Note: See TracChangeset for help on using the changeset viewer.