Make WordPress Core

Opened 4 months ago

Last modified 4 months ago

#61752 new enhancement

Plugin and theme editors should show files in alpha order

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

Description (last modified by sabernhardt)

Plugin editor file order

I've been informed this is supposedly "Date created" order. But in my opinion that's not very practical for navigating files.

I would prefer to see the folders in alpha order and then the files in alpha order.

Attachments (2)

9JSQ1U.png (69.6 KB) - added by sabernhardt 4 months ago.
Plugin editor file order
61752.patch (1018 bytes) - added by iflairwebtechnologies 4 months ago.

Download all attachments as: .zip

Change History (6)

#1 @sabernhardt
4 months ago

  • Description modified (diff)

@sabernhardt
4 months ago

Plugin editor file order

This ticket was mentioned in PR #7161 on WordPress/wordpress-develop by @iflairwebtechnologies.


4 months ago
#2

  • Keywords has-patch added

#3 @iflairwebtechnologies
4 months ago

Hello @helgatheviking
We have add change in code so we can see alpha order in plugin file and theme file

Attachment :-
https://tinyurl.com/2y2vxzwg
https://tinyurl.com/2d5h62g9

Last edited 4 months ago by iflairwebtechnologies (previous) (diff)

#4 @helgatheviking
4 months ago

That's a huge improvement! Would it be too much to ask that

  1. All folders are alpha sorted and then all files...

Folder A/
Folder B/
a-file.php
b-file.php

  1. files like Theme Functions are displayed by their actual file name.

comments.php (Comments)
footer.php (Theme Footers)
functions.php (Theme Functions)

instead of

Comments (comments.php)
Theme Footer (footer.php)
Theme Functions (functions.php)

Though I think they might be getting sorted by their file, I am always looking for functions.php and never for Theme Functions. It may matter less with actual alpha sorting, but I think it would be a nice touch to make this area more usable. (Might be entirely out of scope for this ticket though)

Note: See TracTickets for help on using tickets.