WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/23/2012 12:04:18 AM (9 years ago)
Author:
nacin
Message:

Switch to .min for compressed JS and CSS files.

  • This moves our "development" versions from .dev.js to .js (same for css).
  • The compressed version then moves from .js to .min.js (same for css).

By switching to the standard .min convention, it sets expectations for developers,
and works nicely with existing tools such as ack.

fixes #21633.

File:
1 edited

Legend:

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

    r21484 r21592  
    20212021 */
    20222022function register_admin_color_schemes() {
    2023     wp_admin_css_color( 'classic', _x( 'Blue', 'admin color scheme' ), admin_url( 'css/colors-classic.css' ),
     2023    wp_admin_css_color( 'classic', _x( 'Blue', 'admin color scheme' ), admin_url( 'css/colors-classic.min.css' ),
    20242024        array( '#5589aa', '#cfdfe9', '#d1e5ee', '#eff8ff' ) );
    2025     wp_admin_css_color( 'fresh', _x( 'Gray', 'admin color scheme' ), admin_url( 'css/colors-fresh.css' ),
     2025    wp_admin_css_color( 'fresh', _x( 'Gray', 'admin color scheme' ), admin_url( 'css/colors-fresh.min.css' ),
    20262026        array( '#555', '#a0a0a0', '#ccc', '#f1f1f1' ) );
    20272027}
Note: See TracChangeset for help on using the changeset viewer.