[wp-trac] Re: [WordPress Trac] #8880: Add some extra data to output
of Plugin API
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 6 01:45:31 GMT 2009
#8880: Add some extra data to output of Plugin API
-----------------------------+----------------------------------------------
Reporter: sivel | Owner: mdawaffe
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: WordPress.org | Version:
Severity: normal | Resolution: fixed
Keywords: dev-feedback |
-----------------------------+----------------------------------------------
Changes (by mdawaffe):
* status: new => closed
* resolution: => fixed
Comment:
Note that not all plugins have all sections.
That said, the following new (or fixed) things can now be returned by the
API.
{{{
'author_profile' => profile_URL,
'contributors' => array( username => profile_URL, ... ),
'short_description' => short_description,
'sections' => array( section_name => section_text, ... ),
'description' => description_section_text
}}}
Available sections are "description", "installation", "faq",
"screenshots", and "other_notes" (assuming the plugin has them).
You can ask for all three of {{{short_description}}}, {{{sections}}}, and
{{{description}}}. {{{sections['description']}}} will always be the same
as {{{description}}}. {{{short_description}}} and {{{description}}} will
sometimes be the same. {{{short_description}}} may also simply be a
truncated version of {{{description}}}.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8880#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list