Make WordPress Core

Changeset 15087


Ignore:
Timestamp:
06/01/2010 02:23:56 PM (14 years ago)
Author:
ryan
Message:

Add colors-fresh and colors-classic to rtl_styles so that suffixes are handled properly. fixes #13676

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r15080 r15087  
    430430    $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '.dev' : '';
    431431
    432     $rtl_styles = array( 'wp-admin', 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'nav-menu', 'farbtastic' );
     432    $rtl_styles = array( 'wp-admin', 'global', 'colors', 'colors-fresh', 'colors-classic', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'nav-menu', 'farbtastic' );
    433433    // Any rtl stylesheets that don't have a .dev version for ltr
    434434    $no_suffix = array( 'farbtastic' );
     
    447447    // do not refer to these directly, the right one is queued by the above "meta" colors handle
    448448    $styles->add( 'colors-fresh', "/wp-admin/css/colors-fresh$suffix.css", array(), $colors_version );
    449     $styles->add_data( 'colors-fresh', 'rtl', true );
    450449    $styles->add( 'colors-classic', "/wp-admin/css/colors-classic$suffix.css", array(), $colors_version );
    451     $styles->add_data( 'colors-classic', 'rtl', true );
    452450
    453451    $styles->add( 'ms', "/wp-admin/css/ms$suffix.css", array(), '20100528' );
Note: See TracChangeset for help on using the changeset viewer.