[wp-testers] Editing Plugin files in 2.8

Peter Westwood peter.westwood at ftwr.co.uk
Fri Apr 3 06:01:40 GMT 2009


On 3 Apr 2009, at 03:46, Silverstein, Jesse wrote:

> If this change goes in, it makes sense to include a slew of  
> extensions that cannot be edited in a text editor, but might be  
> included in a plugin:
> $exlude = array("gif", "jpg", "png", "bmp", "swf", "flv", "mp3",  
> "wav" /* others */);

It may make more sense to whitelist rather than blacklist here.

It is going to be easier to define a set of safe file extensions than  
try and list all the unsafe ones.

Could someone raise a trac ticket (and write a patch if so inclined ;-))

westi
-- 
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5



More information about the wp-testers mailing list