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/includes/upload.php

    r5837 r5965  
    340340
    341341function wp_upload_admin_head() {
    342     global $wp_locale;
    343     echo "<link rel='stylesheet' href='" . get_bloginfo('wpurl') . '/wp-admin/css/upload.css?version=' . get_bloginfo('version') . "a' type='text/css' />\n";
    344     if ( 'rtl' == $wp_locale->text_direction )
    345         echo "<link rel='stylesheet' href='" . get_bloginfo('wpurl') . '/wp-admin/css/upload-rtl.css?version=' . get_bloginfo('version') . "a' type='text/css' />\n";
     342    wp_admin_css( 'css/upload' );
    346343    if ( 'inline' == @$_GET['style'] ) {
    347344        echo "<style type='text/css' media='screen'>\n";
Note: See TracChangeset for help on using the changeset viewer.