wp-cli: wp theme status throws: Error: Couldn't find theme-status.mustache

Environment

  • WordPress Core 6.4.3
  • WP-CLI 2.10.0
  • Both current stable releases

Reproduction

$ wp theme status "twentytwentythree"
  • Notes: Regardless which of the installed themes I state there, or whether with or without quotes, it fails with the same error.

Actual

Error: Couldn't find theme-status.mustache

Expected

  • It shows me the status on that theme

Noteworthy

$ wp theme status

Works fine and returns me:

18 installed themes:
  I aeonium           1.0.4

  ...

  I twentytwentythree 1.3

Legend: I = Inactive, A = Active

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (9 by maintainers)

Most upvoted comments

After some more tinkering, I think I have a fairly efficient general solution. I’ll be creating a pull request shortly.