Question

Are there any best practice guidelines regarding how a plugin should distribute a third-party program with it's own installation? If there are no guidelines, then what are the most popular methods?

For example, our plugin requires the installation of a third-party (GPL compatible) program. To ease installation, the third-party program would be included with our plugin and it will offer to run a version of the program that is compatible with their hosting environment that is included in our plugins assets directory (or other directory?). Updates to the third-party program would be handled by updating it along with our own plugins updates ([our version].[third-party-version]).

Was it helpful?

Solution

their rules specifically say

Externally loading code from documented services is permitted.

however all the related examples are about javascript or wordpress plugins.

Management services that interact with and push software down to a site are permitted, provided the service handles the interaction on it’s own domain and not within the WordPress dashboard.

which doesn't apply since I'm not providing a remote service but a local service. (unless an http download counts as a "management service")

I emailed plugins@wordpress.org and got an official response.

You cannot include the binary, nor can you one-click to install.

OTHER TIPS

One of the most common methods used for this is the TGMPA plugin: http://tgmpluginactivation.com/

Which supports customizing the source for the plugin, if it's not a standard WordPress repository plugin: http://tgmpluginactivation.com/configuration/

Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange
scroll top