Changeset 26072 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 11/10/2013 12:26:50 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r25949 r26072 394 394 $scripts->add( 'mce-view', "/wp-includes/js/mce-view$suffix.js", array( 'shortcode', 'media-models' ), false, 1 ); 395 395 396 $scripts->add( 'svg-painter', '/wp-includes/js/svg-painter.js' ); 397 396 398 if ( is_admin() ) { 397 399 $scripts->add( 'admin-tags', "/wp-admin/js/tags$suffix.js", array('jquery', 'wp-ajax-response'), false, 1 ); … … 554 556 $no_suffix = array( 'farbtastic' ); 555 557 556 $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css" );558 $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array( 'open-sans', 'dashicons' ) ); 557 559 558 560 $styles->add( 'ie', "/wp-admin/css/ie$suffix.css" ); 559 561 $styles->add_data( 'ie', 'conditional', 'lte IE 7' ); 560 562 563 // Hotlink Open Sans, for now 564 $styles->add( 'open-sans', '//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=latin-ext,latin' ); 565 566 // Dashicons 567 $styles->add( 'dashicons', '/wp-includes/css/dashicons.css' ); 568 561 569 // Register "meta" stylesheet for admin colors. All colors-* style sheets should have the same version string. 562 $styles->add( 'colors', true, array( 'wp-admin', 'buttons') );570 $styles->add( 'colors', true, array( 'wp-admin', 'buttons', 'open-sans', 'dashicons' ) ); 563 571 564 572 // do not refer to these directly, the right one is queued by the above "meta" colors handle 565 $styles->add( 'colors-fresh', "/wp-admin/css/colors-fresh$suffix.css", array('wp-admin', 'buttons') ); 566 $styles->add( 'colors-classic', "/wp-admin/css/colors-classic$suffix.css", array('wp-admin', 'buttons') ); 573 $styles->add( 'colors-fresh', "/wp-admin/css/colors-fresh$suffix.css", array( 'wp-admin', 'buttons' ) ); 567 574 568 575 $styles->add( 'media', "/wp-admin/css/media$suffix.css" ); … … 573 580 $styles->add( 'jcrop', "/wp-includes/js/jcrop/jquery.Jcrop.min.css", array(), '0.9.12' ); 574 581 $styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.8' ); 575 $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css" );582 $styles->add( 'admin-bar', "/wp-includes/css/admin-bar$suffix.css", array( 'open-sans', 'dashicons' ) ); 576 583 $styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css" ); 577 584 $styles->add( 'editor-buttons', "/wp-includes/css/editor$suffix.css" );
Note: See TracChangeset
for help on using the changeset viewer.