[wp-trac] [WordPress Trac] #47544: Code Editor not listing files/folders in the right order

WordPress Trac noreply at wordpress.org
Wed Aug 28 17:28:38 UTC 2019


#47544: Code Editor not listing files/folders in the right order
----------------------------+-----------------------------
 Reporter:  superpoincare   |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:  5.2.1
 Severity:  minor           |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * keywords:  reporter-feedback => needs-patch
 * milestone:  Awaiting Review => Future Release


Comment:

 Looking at this again with Theme Editor and Twenty Nineteen on Windows,
 the order is indeed a bit random, apparently a mix of sorting by extension
 and name:
 {{{
 style.css
 functions.php
 print.css
 style-editor-customizer.css
 style-editor.css
 style-rtl.css
 js (folder)
 postcss.config.js
 package-lock.json
 package.json
 404.php
 archive.php
 classes (folder)
 comments.php
 footer.php
 header.php
 image.php
 inc (folder)
 index.php
 page.php
 search.php
 single.php
 template-parts (folder)
 print.scss
 sass (folder)
 style-editor-customizer.scss
 style-editor.scss
 style.scss
 readme.txt
 }}}

 `style.css` and `functions.php` are at the top, [source:tags/5.2.2/src/wp-
 admin/theme-editor.php?marks=98-104#L81 as expected], but the rest of the
 list could indeed be sorted in a more logical order.

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


More information about the wp-trac mailing list