[wp-hackers] Checking plugin version

Martin Lazarov martin at lazarov.bg
Sat Sep 22 18:52:42 UTC 2012

Not all users use default plugin install directory. So akismet can be  in

Is there reliable info i can use to query the API?

On Sat, Sep 22, 2012 at 2:40 PM, David Anderson <david at wordshell.net> wrote:
>> I'm interested in "Finding out about current WP directory plugin
>> versions, by queryinghttp://api.wordpress.org".
>> To query wordshell i need to know plugin slug - how i can get it?
> For an installed plugin, the plugin slug equals the last component of the
> directory name (for wp-content/plugins/akismet, it is akismet).
> For a not-yet-installed plugin, it equals the last part of the URL in the WP
> directory, e.g. for Updraft Plus, the URL is
> http://wordpress.org/extend/plugins/updraftplus, and so the slug can be
> identified as updraftplus.
> David
> --
> WordShell - WordPress fast from the CLI - www.wordshell.net
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list