WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#11142 closed enhancement (fixed)

Incomplete data from the themes API

Reported by: johnbillion Owned by: josephscott
Milestone: WordPress.org Priority: low
Severity: minor Version:
Component: WordPress.org site Keywords:
Focuses: Cc:

Description

Some data from the theme_information method of the themes API (ie. the themes_api() function) is missing.

The 'downloaded' value is always null instead of containing the number of downloads for the theme.

The 'requires' and 'tested' values are present but always null, however there appears to currently be no way for theme authors to specify this information when uploading a theme anyway.

Change History (4)

comment:1 mdawaffe4 years ago

  • Owner changed from ryan to josephscott
  • Status changed from new to assigned

comment:2 mdawaffe4 years ago

I can fix this, josephscott, but I don't know if the requires/tested info is inputable for themes or if we should just nix it. Let me know.

comment:3 mdawaffe4 years ago

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

I fixed the download count.

Joseph says the requires/tested fields are unused, so I took them out of the API response. They may be supported in the future, though, so we may as well leave them in the API request (that WordPress sends).

comment:4 westi4 years ago

  • Milestone changed from Unassigned to WordPress.org site bugs
Note: See TracTickets for help on using tickets.