Making WordPress.org

Opened 3 years ago

Last modified 3 years ago

#5906 accepted defect (bug)

Returns false instead of theme_information often

Reported by: acali's profile acali Owned by: dd32's profile dd32
Milestone: Priority: normal
Component: Theme Directory Keywords: needs-unit-tests
Cc:

Description

Dear WordPress-Team

We have the problem that the API doesn't return the theme information but just a false often.

This is the example link:
https://api.wordpress.org/themes/info/1.1/?action=theme_information&request[slug]=kadence

Attachments (1)

Peek 2021-09-15 11-42.gif (70.4 KB) - added by acali 3 years ago.

Download all attachments as: .zip

Change History (7)

This ticket was mentioned in Slack in #forums by yui. View the logs.


3 years ago

This ticket was mentioned in Slack in #themereview by aristath. View the logs.


3 years ago

#3 @stankea
3 years ago

I've reverted the affecting change for now, but it needs a review and a proper fix from @dd32.

#4 @dd32
3 years ago

  • Component changed from General to Theme Directory
  • Owner set to dd32
  • Status changed from new to accepted

Sorry folks - I thought I had checked the API responses, but I guess I hit a cached good response.

Thanks @stankea for reverting!

#5 @dd32
3 years ago

In 11243:

Theme Directory: Rejig the query modifications for when to include delisted themes.

This reimplements [11239] after it caused the API to fail to return correctly for non-delisted themes.

See #5906.

#6 @dd32
3 years ago

  • Keywords needs-unit-tests added

I'm leaving this ticket open in the hope of being a reminder to add some basic unit tests of this branch.

Note: See TracTickets for help on using tickets.