Skip to:
Content

bbPress.org

Changeset 5292


Ignore:
Timestamp:
02/20/2014 01:04:34 AM (8 years ago)
Author:
johnjamesjacoby
Message:

Remove colors-fresh dependency for admin color schemes. WordPress 3.9's CSS cleanup initiatives have rendered this code unnecessary. Hat tip helen.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/admin.php

    r5289 r5292  
    645645            array( 'base' => '#f1f3f2', 'focus' => '#fff', 'current' => '#fff' )
    646646        );
    647 
    648         // Bail if already using the fresh color scheme
    649         if ( 'fresh' === get_user_option( 'admin_color' ) ) {
    650             return;
    651         }
    652 
    653         // Force 'colors-fresh' dependency
    654         global $wp_styles;
    655         $wp_styles->registered[ 'colors' ]->deps[] = 'colors-fresh';
    656647    }
    657648
Note: See TracChangeset for help on using the changeset viewer.