Making WordPress.org

Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#2970 closed enhancement (invalid)

Themes API

Reported by: dingo_d's profile dingo_d Owned by:
Milestone: Priority: normal
Component: API Keywords:
Cc:

Description

Like Plugins_API, we could have a Themes_API so that we can collect information from the themes that are available in the themes directory.

This would probably make it easier to use new plugins directory for themes (which is something that is in plans as far as I know). Not only that, but we could have extra useful methods that are related to WordPress.org themes.

One functionality that comes to mind is assigning some sort of unique hash key for each theme hosted on wp.org. This would allow the differentiation between themes that are hosted here, and same named themes hosted somewhere else (ThemeForest or privately hosted).

A wp.org author could then include the unique hash in his theme, which would then be picked up by the API. Each hash would be unique and known to the theme author.

This would eliminate the update issues that can happen with themes that are named the same, and the active installs count. A check could be made if the hash is consistent with the theme name, which would prevent any same name update collision and active install manipulation.

Just an idea...

Change History (3)

#1 @Otto42
7 years ago

  • Resolution set to invalid
  • Status changed from new to closed

We do already have a themes API call, and the unique hash idea would need to be in a core ticket. Pretty sure it already is, in fact.

#2 @SergeyBiryukov
7 years ago

  • Keywords needs-patch 2nd-opinion removed

#3 @dd32
5 years ago

  • Reporter changed from dingo_bastard to dingo_d
Note: See TracTickets for help on using tickets.