Make WordPress Core

Ticket #36912: plugin-install.php.3.patch

File plugin-install.php.3.patch, 883 bytes (added by clarionwpdeveloper, 8 years ago)
  • plugin-install.php

     
    356356 * @since 3.0.0
    357357 *
    358358 * @param array|object $api
    359  * @param bool        $loop
    360  * @return type
     359 * @param bool  $loop is optional constant specify the true or false. Default false.
     360 * @return array {
     361 *     
     362 *     @type string $Status    Status of a plugin. Install or Update Available or Latest Installed or Newer Installed
     363 *     @type string $Url       Plugin installation URL.
     364 *     @type int    $Version   The version of Plugin.
     365 *     @type string $File      Plugin filename relative to the plugins directory.
     366 *     
     367 * }
     368 *
    361369 */
    362370function install_plugin_install_status($api, $loop = false) {
    363371        // This function is called recursively, $loop prevents further loops.