WordPress.org

Making WordPress.org

Opened 4 weeks ago

Last modified 4 weeks ago

#5906 accepted defect

Returns false instead of theme_information often

Reported by: acali Owned by: 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 4 weeks ago.

Download all attachments as: .zip

Change History (7)

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


4 weeks ago

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


4 weeks ago

#3 @stankea
4 weeks ago

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

#4 @dd32
4 weeks 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
4 weeks 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
4 weeks 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.