Make WordPress Core

Opened 17 years ago

Closed 16 years ago

Last modified 6 months ago

#2926 closed defect (bug) (fixed)

Theme files are not ordered alphabetically

Reported by: arrrr's profile Arrrr Owned by:
Milestone: 2.3 Priority: normal
Severity: normal Version: 2.0.3
Component: Administration Keywords: theme theme-editor order alphabetical has-patch
Focuses: Cc:

Description

When editing themes, files are not listed alphabetically in the theme files sidebar.

Attachments (2)

r3979_theme-editor.patch (1.1 KB) - added by Arrrr 17 years ago.
2926.diff (470 bytes) - added by Arrrr 17 years ago.
Adds ksort() to page_template_dropdown() so that the templates are sorted there as well.

Download all attachments as: .zip

Change History (10)

#1 @darkfate
17 years ago

Does it really need to be in alphabetical order?

#2 @Arrrr
17 years ago

For large-scale sites with many template files, yes. Ever tried managing a 4,000 page WordPress site that has a different layout for each of 3 sections?

The small usability bump that alphabetical order provides when digging thru a list of 25 to 30 files can make the process much less aggrevating.

@Arrrr
17 years ago

Adds ksort() to page_template_dropdown() so that the templates are sorted there as well.

#3 @foolswisdom
17 years ago

  • Keywords theme theme-editor order alphabetical has-patch added; themes removed
  • Milestone set to 2.1
  • Type changed from enhancement to defect

#4 @foolswisdom
17 years ago

Ticket #3011 is basically a duplicate of this.

#5 @matt
17 years ago

  • Milestone changed from 2.1 to 2.2

#6 @foolswisdom
17 years ago

  • Milestone changed from 2.2 to 2.3

#7 @rob1n
17 years ago

(In [5380]) Sort page templates by name. Props Arrrr. see #2926

#8 @ryan
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.