[wp-testers] Editing Plugin files in 2.8

Silverstein, Jesse Jesse.Silverstein at xerox.com
Fri Apr 3 17:31:26 GMT 2009


> Could someone raise a trac ticket (and write a patch if so inclined
;-))
http://core.trac.wordpress.org/ticket/9452

I don't know if I did any of that right. T'was my first interaction with
Trac. Hopefully I didn't screw it up too badly. :)

-Jesse Silverstein

-----Original Message-----
From: wp-testers-bounces at lists.automattic.com
[mailto:wp-testers-bounces at lists.automattic.com] On Behalf Of Peter
Westwood
Sent: Friday, April 03, 2009 2:02 AM
To: wp-testers at lists.automattic.com
Subject: Re: [wp-testers] Editing Plugin files in 2.8


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

_______________________________________________
wp-testers mailing list
wp-testers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.238 / Virus Database: 270.11.40/2039 - Release Date:
04/03/09 06:19:00


More information about the wp-testers mailing list