Make WordPress Core

Opened 2 years ago

Last modified 2 years 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 2 years ago.
theme-after.png (74.5 KB) - added by pross 2 years ago.
plugin-before.png (83.8 KB) - added by pross 2 years ago.
plugin-after.png (83.6 KB) - added by pross 2 years ago.

Download all attachments as: .zip

Change History (7)

@pross
2 years ago

@pross
2 years ago

@pross
2 years ago

@pross
2 years ago

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


2 years 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
2 years ago

  • Version trunk deleted

#3 @codente
2 years ago

Love this, it would be so helpful!

Note: See TracTickets for help on using tickets.