[wp-trac] [WordPress Trac] #10789: Add plugin information to XML-RPC
WordPress Trac
wp-trac at lists.automattic.com
Tue Sep 15 13:28:38 UTC 2009
#10789: Add plugin information to XML-RPC
-------------------------+--------------------------------------------------
Reporter: joehoyle | Owner: josephscott
Type: enhancement | Status: new
Priority: normal | Milestone: 2.9
Component: XML-RPC | Version: 2.8.4
Severity: normal | Keywords: xmlrpc, xml-rpc, plugins
-------------------------+--------------------------------------------------
Currently XML-RPC does not provide any method to access plugin
information. I wrote a patch for xmlrpc.php that adds the wp.getPluginList
method (calls wp_getPluginList()). The method basically returns
get_plugins(), but also adds in two keys to each plugin array:
{{{
['active'] (bool) //if the plugin is currently active
['latest_version'] //the latest version of the plugin (using
get_transient( 'update_plugins' )
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10789>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list