[wp-meta] [Making WordPress.org] #2970: Themes API
Making WordPress.org
noreply at wordpress.org
Tue Jul 18 12:14:17 UTC 2017
#2970: Themes API
---------------------------+-------------------------------------
Reporter: dingo_bastard | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: API | Keywords: needs-patch 2nd-opinion
---------------------------+-------------------------------------
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...
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2970>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list