upload_file_glob filter from tellyworth. fixes #6628 for trunk

git-svn-id: https://develop.svn.wordpress.org/trunk@7611 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-04-07 17:10:00 +00:00
parent d7f9059180
commit 95c1b352e1

View File

@ -794,7 +794,7 @@ jQuery(function($){
upload_url : "<?php echo attribute_escape( $flash_action_url ); ?>",
flash_url : "<?php echo get_option('siteurl').'/wp-includes/js/swfupload/swfupload_f9.swf'; ?>",
file_post_name: "async-upload",
file_types: "*.*",
file_types: "<?php echo apply_filters('upload_file_glob', '*.*'); ?>",
post_params : {
"post_id" : "<?php echo $post_id; ?>",
"auth_cookie" : "<?php echo $_COOKIE[AUTH_COOKIE]; ?>",