Changeset 21592
- Timestamp:
- 08/23/2012 12:04:18 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
- 79 copied
- 79 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r21484 r21592 2021 2021 */ 2022 2022 function 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' ), 2024 2024 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' ), 2026 2026 array( '#555', '#a0a0a0', '#ccc', '#f1f1f1' ) ); 2027 2027 } -
trunk/wp-includes/js/tinymce/plugins/wpeditimage/editimage.html
r21545 r21592 6 6 7 7 <link rel="stylesheet" href="css/editimage.css?ver=356-20120818" type="text/css" media="all" /> 8 <script type="text/javascript" src="js/editimage. js?ver=356-20120818"></script>8 <script type="text/javascript" src="js/editimage.min.js?ver=356-20120818"></script> 9 9 <script type="text/javascript" src="../../utils/form_utils.js?ver=356-20120818"></script> 10 10 <base target="_self" /> -
trunk/wp-includes/script-loader.php
r21591 r21592 58 58 $scripts->default_dirs = array('/wp-admin/js/', '/wp-includes/js/'); 59 59 60 $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? ' .dev' : '';60 $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min'; 61 61 62 62 $scripts->add( 'utils', "/wp-admin/js/utils$suffix.js" ); … … 461 461 $styles->default_dirs = array('/wp-admin/', '/wp-includes/css/'); 462 462 463 $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? ' .dev' : '';464 465 $rtl_styles = array( 'wp-admin', 'ie', 'media', 'admin-bar', ' wplink', 'customize-controls' );466 // Any rtl stylesheets that don't have a . dev version for ltr463 $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min'; 464 465 $rtl_styles = array( 'wp-admin', 'ie', 'media', 'admin-bar', 'customize-controls' ); 466 // Any rtl stylesheets that don't have a .min version 467 467 $no_suffix = array( 'farbtastic' ); 468 468 … … 507 507 */ 508 508 function wp_prototype_before_jquery( $js_array ) { 509 if ( false === $prototype = array_search( 'prototype', $js_array, true ) ) 510 return $js_array; 511 509 512 if ( false === $jquery = array_search( 'jquery', $js_array, true ) ) 510 return $js_array;511 512 if ( false === $prototype = array_search( 'prototype', $js_array, true ) )513 513 return $js_array; 514 514 … … 576 576 577 577 if ( defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ) 578 $url = preg_replace( '/.css$|.css(?=\?)/', '.dev.css', $url);578 $url = preg_replace( '/.min.css$|.min.css(?=\?)/', '.css', $url ); 579 579 580 580 if ( isset($parsed['query']) && $parsed['query'] ) {
Note: See TracChangeset
for help on using the changeset viewer.