Make WordPress Core

Opened 8 months ago

Last modified 7 months ago

#59616 new enhancement

Sort files in theme/plugin files tree

Reported by: pross's profile pross Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Plugins Keywords: has-patch
Focuses: Cc:

Description

Its a fairly trivial change to make the files alphabetically sortable fort both the theme and plugin file editors.
I know the file editor is never recommended to be used and is better off disabled but lets at least make it easier on the eyes?

Attachments (4)

theme-before.png (76.1 KB) - added by pross 8 months ago.
theme-after.png (74.5 KB) - added by pross 8 months ago.
plugin-before.png (83.8 KB) - added by pross 8 months ago.
plugin-after.png (83.6 KB) - added by pross 8 months ago.

Download all attachments as: .zip

Change History (7)

@pross
8 months ago

@pross
8 months ago

@pross
8 months ago

@pross
8 months ago

This ticket was mentioned in PR #5483 on WordPress/wordpress-develop by Pross.


8 months ago
#1

  • Keywords has-patch added

This PR sorts the theme and plugin files alphabetically and in the case of the theme files it makes sure style.css functions.php and theme.json are always at the top of the tree.

Trac ticket: https://core.trac.wordpress.org/ticket/59616

#2 @hellofromTonya
8 months ago

  • Version trunk deleted

#3 @codente
7 months ago

Love this, it would be so helpful!

Note: See TracTickets for help on using tickets.