[wp-trac] [WordPress Trac] #22924: Add filter to theme editor accepted files

WordPress Trac noreply at wordpress.org
Thu Oct 15 02:19:47 UTC 2015


#22924: Add filter to theme editor accepted files
------------------------------+-----------------------------
 Reporter:  pross             |       Owner:  wonderboymusic
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.4
Component:  Themes            |     Version:  3.5
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35180"]:
 {{{
 #!CommitTicketReference repository="" revision="35180"
 Theme Editor: Repurpose the `'wp_theme_editor_filetypes'` filter added in
 [35134] to actually filter file types instead of files.

 Default types include 'php' and 'css' and cannot be removed, only new
 types can be added.

 Props DrewAPicture, SergeyBiryukov.
 Fixes #22924.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22924#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list