upload_file_glob filter from tellyworth. fixes #6628 for trunk

git-svn-id: http://svn.automattic.com/wordpress/trunk@7611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-04-07 17:10:00 +00:00
parent 90952804da
commit aad4350fb1
1 changed files with 1 additions and 1 deletions

View File

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