WordPress.org

Make WordPress Core

Ticket #6843: uploader-css-refresh.patch

File uploader-css-refresh.patch, 622 bytes (added by azaozz, 10 years ago)

Refreshes Thickbox' css

  • media.php

     
    180180function media_buttons_head() {
    181181$siteurl = get_option('siteurl');
    182182echo "<style type='text/css' media='all'>
    183         @import '{$siteurl}/wp-includes/js/thickbox/thickbox.css?1';
     183        @import '{$siteurl}/wp-includes/js/thickbox/thickbox.css?ver=20080430';
    184184        div#TB_title {
    185185                background-color: #222222;
    186186                color: #cfcfcf;
     
    188188        div#TB_title a, div#TB_title a:visited {
    189189                color: #cfcfcf;
    190190        }
     191        #TB_window {
     192                top: 20px;
     193        }
    191194</style>\n";
    192195}
    193196