WordPress.org

Make WordPress Core

Changeset 7612


Ignore:
Timestamp:
04/07/2008 05:10:20 PM (10 years ago)
Author:
ryan
Message:

upload_file_glob filter from tellyworth. fixes #6628 for 2.5

File:
1 edited

Legend:

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

    r7573 r7612  
    795795            flash_url : "<?php echo get_option('siteurl').'/wp-includes/js/swfupload/swfupload_f9.swf'; ?>",
    796796            file_post_name: "async-upload",
    797             file_types: "*.*",
     797            file_types: "<?php echo apply_filters('upload_file_glob', '*.*'); ?>",
    798798            post_params : {
    799799                "post_id" : "<?php echo $post_id; ?>",
Note: See TracChangeset for help on using the changeset viewer.