Ticket #12237: 12237.diff
| File 12237.diff, 1.7 KB (added by , 16 years ago) |
|---|
-
wp-includes/script-loader.php
8 8 * file. 9 9 * 10 10 * Several constants are used to manage the loading, concatenating and compression of scripts and CSS: 11 * define('SCRIPT_DEBUG', true); loads the development (non-minified) versions of all scripts and disables compression and concatenation, 12 * define('STYLE_DEBUG', true); loads the development (non-minified) versions of all CSS and disables compression and concatenation, 11 * define('SCRIPT_DEBUG', true); loads the development (non-minified) versions of all scripts and CSS and disables compression and concatenation, 13 12 * define('CONCATENATE_SCRIPTS', false); disables compression and concatenation of scripts and CSS, 14 13 * define('COMPRESS_SCRIPTS', false); disables compression of scripts, 15 14 * define('COMPRESS_CSS', false); disables compression of CSS, … … 427 426 $styles->text_direction = 'rtl' == get_bloginfo( 'text_direction' ) ? 'rtl' : 'ltr'; 428 427 $styles->default_dirs = array('/wp-admin/'); 429 428 430 $suffix = defined('S TYLE_DEBUG') && STYLE_DEBUG ? '.dev' : '';429 $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '.dev' : ''; 431 430 432 431 $rtl_styles = array( 'wp-admin', 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'farbtastic' ); 433 432 … … 547 546 $parsed = parse_url( $src ); 548 547 $url = $color->url; 549 548 550 if ( defined('S TYLE_DEBUG') && STYLE_DEBUG )549 if ( defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ) 551 550 $url = preg_replace('/.css$|.css(?=\?)/', '.dev.css', $url); 552 551 553 552 if ( isset($parsed['query']) && $parsed['query'] ) {
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)