Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#9029 closed defect (bug) (fixed)

when only 1 theme, nothing shows up

Reported by: jdingman Owned by:
Milestone: Priority: normal
Severity: major Version:
Component: General Keywords:
Focuses: Cc:


When there is only 1 theme folder, such as *just* "classic" or *just* "default," nothing shows up under wp-admin/themes.php.

It shows you this,

All of this theme’s files are located in .

And does not let you select a theme.

Add another theme to the folder /themes/, and they both show up.

Attachments (1)

9029.diff (450 bytes) - added by Denis-de-Bernardy 7 years ago.

Download all attachments as: .zip

Change History (8)

#1 @bi0xid
7 years ago

I don't think it is a bug.

If there's nothing more to show, it's not an error not showing anything.

If there's nothing more to select, it's not an error not having themes to select.

#2 @jdingman
7 years ago

If there is one theme though, it should show that one theme, despite not having any other options.

it should show the "current theme" and theme location still, despite being the only one available

#3 @bi0xid
7 years ago

Agreed. So, showing Actual theme without Available themes.

Didn't understand before, sorry.

#4 @Denis-de-Bernardy
7 years ago

  • Keywords has-patch needs-testing 2nd-opinion added; needs-patch dev-feedback removed
  • Resolution set to wontfix
  • Status changed from new to closed

closing this, actually. there theme's folder and details are all listed under the current theme, so it really makes no sense to show any of the available themes.

#5 @Denis-de-Bernardy
7 years ago

  • Milestone 2.8 deleted

#6 @westi
7 years ago

  • Keywords has-patch needs-testing 2nd-opinion removed
  • Resolution wontfix deleted
  • Status changed from closed to reopened

I think we can give better user experience here.

We shouldn't really list the active theme in the available ones.

#7 @westi
7 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [11008]) Better view on Manage Themes when only one theme installed. Fixes #9029.

Note: See TracTickets for help on using tickets.