WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 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:

Description

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 5 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 bi0xid5 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.

comment:2 jdingman5 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

comment:3 bi0xid5 years ago

Agreed. So, showing Actual theme without Available themes.

Didn't understand before, sorry.

Denis-de-Bernardy5 years ago

comment:4 Denis-de-Bernardy5 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.

comment:5 Denis-de-Bernardy5 years ago

  • Milestone 2.8 deleted

comment:6 westi5 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.

comment:7 westi5 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.