[wpmu-trac] Re: [WordPress MU Trac] #570: Add mime type for .xml
for blogs.php
WordPress MU Trac
wpmu-trac at lists.automattic.com
Mon Apr 14 10:54:10 GMT 2008
#570: Add mime type for .xml for blogs.php
-------------------------+--------------------------------------------------
Reporter: arnee | Owner: somebody
Type: enhancement | Status: closed
Priority: normal | Milestone: WPMU 1.0
Component: component1 | Version: 1.0
Severity: normal | Resolution: invalid
Keywords: has-patch |
-------------------------+--------------------------------------------------
Changes (by donncha):
* status: new => closed
* resolution: => invalid
Comment:
You should use the 'upload_mimes' filter to add the mime type to that
array in functions.php. At least on my test server the function
wp_check_filetype() is defined in wp-includes/functions.php and not in
blogs.php
Test it our on your server.
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/570#comment:2>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list