Changes from branches/2.8/wp-admin/includes/media.php at r11639 to trunk/wp-admin/includes/media.php at r11492
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r11639 r11492 370 370 } 371 371 add_action( 'media_buttons', 'media_buttons' ); 372 add_action('media_upload_media', 'media_upload_handler'); 372 373 373 374 /** … … 381 382 check_admin_referer('media-form'); 382 383 383 $errors = null;384 $errors = array(); 384 385 385 386 if ( isset($_POST['send']) ) { … … 1312 1313 var settings = { 1313 1314 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; }', 1315 1316 button_height: "24", 1316 1317 button_width: "132", 1317 button_text_top_padding: 2,1318 button_text_top_padding: 1, 1318 1319 button_image_url: '<?php echo includes_url('images/upload.png'); ?>', 1319 1320 button_placeholder_id: "flash-browse-button",
Note: See TracChangeset
for help on using the changeset viewer.