WordPress.org

Make WordPress Core

Ticket #8545: 8545.2.diff

File 8545.2.diff, 2.1 KB (added by MattyRob, 5 years ago)
  • media.php

     
    11681168 
    11691169        $delete_href = wp_nonce_url("post.php?action=delete-post&post=$attachment_id", 'delete-post_' . $attachment_id); 
    11701170        if ( $send ) 
    1171                 $send = "<input type='submit' class='button' name='send[$attachment_id]' value='" . esc_attr__( 'Insert into Post' ) . "' />"; 
     1171                $send = "<input type='submit' class='button-primary' name='send[$attachment_id]' value='" . esc_attr__( 'Insert into Post' ) . "' />"; 
    11721172        if ( $delete ) 
    11731173                $delete = "<a href=\"#\" class=\"del-link\" onclick=\"document.getElementById('del_attachment_$attachment_id').style.display='block';return false;\">" . __('Delete') . "</a>"; 
    11741174        if ( ( $send || $delete ) && !isset($form_fields['buttons']) ) 
     
    13111311SWFUpload.onload = function() { 
    13121312        var settings = { 
    13131313                        button_text: '<span class="button"><?php _e('Select Files'); ?></span>', 
    1314                         button_text_style: '.button { text-align: center; font-weight: bold; font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif; }', 
     1314                        button_text_style: '.button { color: #FFFFFF; text-align: center; font-weight: bold; font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif; }', 
    13151315                        button_height: "24", 
    13161316                        button_width: "132", 
    13171317                        button_text_top_padding: 2, 
     
    13691369<?php do_action('pre-html-upload-ui'); ?> 
    13701370        <p id="async-upload-wrap"> 
    13711371        <label class="screen-reader-text" for="async-upload"><?php _e('Upload'); ?></label> 
    1372         <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php esc_attr_e('Upload'); ?>" /> <a href="#" onclick="return top.tb_remove();"><?php _e('Cancel'); ?></a> 
     1372        <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button-primary" name="html-upload" value="<?php esc_attr_e('Upload'); ?>" /> <a href="#" onclick="return top.tb_remove();"><?php _e('Cancel'); ?></a> 
    13731373        </p> 
    13741374        <div class="clear"></div> 
    13751375        <?php if ( is_lighttpd_before_150() ): ?>