Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r11639 r11492  
    370370}
    371371add_action( 'media_buttons', 'media_buttons' );
     372add_action('media_upload_media', 'media_upload_handler');
    372373
    373374/**
     
    381382    check_admin_referer('media-form');
    382383
    383     $errors = null;
     384    $errors = array();
    384385
    385386    if ( isset($_POST['send']) ) {
     
    13121313    var settings = {
    13131314            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; }',
     1315            button_text_style: '.button { text-align: center; font-weight: bold; font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,sans-serif; }',
    13151316            button_height: "24",
    13161317            button_width: "132",
    1317             button_text_top_padding: 2,
     1318            button_text_top_padding: 1,
    13181319            button_image_url: '<?php echo includes_url('images/upload.png'); ?>',
    13191320            button_placeholder_id: "flash-browse-button",
Note: See TracChangeset for help on using the changeset viewer.