WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 2 years ago

#11164 closed enhancement (wontfix)

Add Theme Sort Filter

Reported by: uglyrobot Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Themes Keywords: needs-refresh
Focuses: Cc:

Description

I've run across the need for this in a few plugins. You can't adjust the order of themes in the theme browser as all filters are applied before the sort.

Aaron (for Incsub)

Attachments (1)

themesort.diff (892 bytes) - added by uglyrobot 6 years ago.
Theme sort filters

Download all attachments as: .zip

Change History (8)

comment:1 @scribu6 years ago

  • Keywords needs-patch added
  • Milestone changed from 2.9 to Future Release

@uglyrobot6 years ago

Theme sort filters

comment:2 follow-up: @uglyrobot6 years ago

  • Keywords needs-patch removed
  • Milestone changed from Future Release to 2.9

In the patch I also added a class with the theme template name to the td element so you could style specific theme preview boxes. The theme template name may need to be filtered so it stays a valid css class name.

comment:3 @scribu6 years ago

  • Keywords has-patch added

comment:4 @ryan6 years ago

  • Milestone changed from 2.9 to Future Release

comment:5 in reply to: ↑ 2 @uglyrobot6 years ago

Replying to uglyrobot:

In the patch I also added a class with the theme template name to the td element so you could style specific theme preview boxes. The theme template name may need to be filtered so it stays a valid css class name.

Run the theme name through sanitize_html_class();

comment:6 @iseulde2 years ago

  • Component changed from Administration to Themes
  • Keywords needs-refresh added; has-patch removed

comment:7 @helen2 years ago

  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to closed

4 years without further comment, doesn't seem to be a clamoring need. Feel free to reopen (and re-patch, because there is no way this comes close to applying anymore) with more details if it's still a thing.

Note: See TracTickets for help on using tickets.