Changeset 13183
- Timestamp:
- 02/17/2010 08:25:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/script-loader.php
r13182 r13183 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, … … 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' ); … … 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
Note: See TracChangeset
for help on using the changeset viewer.