Make WordPress Core


Ignore:
Timestamp:
08/28/2007 11:23:38 PM (17 years ago)
Author:
ryan
Message:

Make css cache busting and rtl inclusion uniform across admin. Props mdawaffe. fixes #4830

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/widgets.php

    r5934 r5965  
    1111    global $wp_registered_sidebars, $wp_registered_widgets, $wp_registered_widget_controls;
    1212?>
    13     <link rel="stylesheet" href="<?php bloginfo( 'wpurl' ); ?>/wp-admin/css/widgets.css?version=<?php bloginfo('version'); ?>" type="text/css" />
     13    <?php wp_admin_css( 'css/widgets' ); ?>
    1414    <!--[if IE 7]>
    1515    <style type="text/css">
     
    1818    <![endif]-->
    1919<?php
    20     if ( get_bloginfo( 'text_direction' ) == 'rtl' ) {
    21 ?>
    22     <link rel="stylesheet" href="<?php bloginfo( 'wpurl' ); ?>/wp-admin/css/widgets-rtl.css?version=<?php bloginfo('version'); ?>" type="text/css" />
    23 <?php
    24     }
    2520
    2621    $cols = array();
Note: See TracChangeset for help on using the changeset viewer.