[wp-trac] Re: [WordPress Trac] #9452: Plugin Editor lists all files in plugin - should limit to text only

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 4 02:34:51 GMT 2009


#9452: Plugin Editor lists all files in plugin - should limit to text only
----------------------------+-----------------------------------------------
 Reporter:  jbsil           |        Owner:  jbsil   
     Type:  defect (bug)    |       Status:  reopened
 Priority:  normal          |    Milestone:  2.8     
Component:  Administration  |      Version:  2.8     
 Severity:  normal          |   Resolution:          
 Keywords:  has-patch       |  
----------------------------+-----------------------------------------------

Comment(by jbsil):

 > allow a plugin to modify the list of allowed editable extensions.
 Included in 9452.1.patch

 > I have added a URL Fix Patch as anyone can access such files in the
 editors using a GET Request in the URL.
 Good catch! Your updated code used the first patch shown here, so I
 changed it to use the regex, the filter, and to exit before the <form> is
 displayed, with clean html and a moderately useful error message.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9452#comment:12>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list