This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Script to download latest version of a WordPress plugin . | |
* This script must be in the folder where WordPress is installed. | |
* | |
* @param slug (name) of the plugin. See http://plugins.svn.wordpress.org/ | |
* @return exit code 0 if downloaded, 1 if already exists, 2 if error | |
* | |
* @author enekogb |