[wpmu-trac] [WordPress MU Trac] #1118: PPSX not defined as valid file in functions.php

WordPress MU Trac wpmu-trac at lists.automattic.com
Tue Sep 22 17:41:18 UTC 2009


#1118: PPSX not defined as valid file in functions.php
---------------------------+------------------------------------------------
 Reporter:  lafayettenuke  |       Owner:  somebody
     Type:  defect         |      Status:  new     
 Priority:  normal         |   Milestone:          
Component:  component1     |     Version:  2.8.2   
 Severity:  minor          |    Keywords:          
---------------------------+------------------------------------------------
 The file list in wp_check_filetype (part of wp-content/functions.php) does
 not define PPSX (PowerPoint Show for Office 2007/2008) as a valid
 PowerPoint type on line 2274:

 'pot|pps|ppt|pptx' => 'application/vnd.ms-powerpoint',

 And in wp_ext2type (part of wp-content/functions.php), line 2224:

 'interactive' => array('pps','ppt','pptx','key','odp','swf'),

 Not having ppsx in these lists causes WordPress MU to throw the warning
 "File type does not meet security guidelines. Try another." (even when the
 ppsx file type itself is blessed in WPMU's options).

 As all the other flavors are PowerPoint file are listed, I'm guessing this
 was just an oversight. Adding ppsx to these lists allows the file to be
 uploaded.

 This problem appears in WordPress MU 2.8.4a.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1118>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list