Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.8/wp-admin/includes/media.php

    r11492 r11639  
    370370}
    371371add_action( 'media_buttons', 'media_buttons' );
    372 add_action('media_upload_media', 'media_upload_handler');
    373372
    374373/**
     
    382381    check_admin_referer('media-form');
    383382
    384     $errors = array();
     383    $errors = null;
    385384
    386385    if ( isset($_POST['send']) ) {
     
    13131312    var settings = {
    13141313            button_text: '<span class="button"><?php _e('Select Files'); ?></span>',
    1315             button_text_style: '.button { text-align: center; font-weight: bold; font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,sans-serif; }',
     1314            button_text_style: '.button { text-align: center; font-weight: bold; font-family:"Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif; }',
    13161315            button_height: "24",
    13171316            button_width: "132",
    1318             button_text_top_padding: 1,
     1317            button_text_top_padding: 2,
    13191318            button_image_url: '<?php echo includes_url('images/upload.png'); ?>',
    13201319            button_placeholder_id: "flash-browse-button",
Note: See TracChangeset for help on using the changeset viewer.