[wp-trac] [WordPress Trac] #24049: Make Plugin Editor's file list alphabetical by full path

WordPress Trac noreply at wordpress.org
Mon Oct 6 19:48:06 UTC 2014


#24049: Make Plugin Editor's file list alphabetical by full path
--------------------------+-----------------------------
 Reporter:  Daedalon      |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  4.1
Component:  Plugins       |     Version:  2.8
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by MattyRob):

 Sorry to report on further testing that this doesn't work fully.

 By returning a sorted list of plugin files the 'first' entry returned may
 not be the main plugin file and it may also not be a file supported in the
 editor - resulting in unusual behaviour.

 The sort needs to return the array with the main file at the start of the
 array or somehow that file needs to be 'selected' by default.

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


More information about the wp-trac mailing list