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

WordPress Trac noreply at wordpress.org
Wed Oct 14 23:41:20 UTC 2015


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

 * keywords:  has-patch => has-patch commit


Comment:

 Replying to [comment:12 SergeyBiryukov]:
 > One issue with both [35134] and the patch is that new files are added
 under "Styles" heading, which doesn't make sense (see
 [attachment:22924.png], where I've added `txt` as an example).

 [attachment:22924.3.diff] fixes that. Other types are displayed in their
 own section, see [attachment:22924.3.png].

 If new file types are added to the beginning of the array, before `php`,
 that section is displayed first.

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


More information about the wp-trac mailing list