Changeset 13351 for trunk/wp-includes/script-loader.php
- Timestamp:
- 02/23/2010 11:46:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/script-loader.php
r13310 r13351 434 434 435 435 $rtl_styles = array( 'wp-admin', 'global', 'colors', 'dashboard', 'ie', 'install', 'login', 'media', 'theme-editor', 'upload', 'widgets', 'press-this', 'plugin-install', 'farbtastic' ); 436 // Any rtl stylesheets that don't have a .dev version for ltr 437 $no_suffix = array( 'farbtastic' ); 436 438 437 439 // all colors stylesheets need to have the same query strings (cache manifest compat) … … 469 471 $styles->add( 'custom-navigation', "/wp-admin/css/custom-navigation$suffix.css", array(), '20100215' ); 470 472 471 foreach ( $rtl_styles as $rtl_style ) 473 foreach ( $rtl_styles as $rtl_style ) { 472 474 $styles->add_data( $rtl_style, 'rtl', true ); 475 if ( $suffix && ! in_array( $rtl_style, $no_suffix ) ) 476 $styles->add_data( $rtl_style, 'suffix', $suffix ); 477 } 473 478 } 474 479
Note: See TracChangeset
for help on using the changeset viewer.