Make WordPress Core

Ticket #36912: 36912.2.patch

File 36912.2.patch, 983 bytes (added by sudar, 8 years ago)
  • wp-admin/includes/plugin-install.php

     
    348348 *
    349349 * @since 3.0.0
    350350 *
    351  * @param array|object $api
    352  * @param bool        $loop
    353  * @return type
     351 * @param  array|object $api  Date about the plugin.
     352 * @param  bool         $loop (Optional) Disable further loops, False by default.
     353 * @return array        {
     354 *
     355 *     @type string $status    Status of a plugin. Install or Update Available or Latest Installed or Newer Installed
     356 *     @type string $url       Plugin installation URL.
     357 *     @type int    $version   The version of Plugin.
     358 *     @type string $file      Plugin filename relative to the plugins directory.
     359 *
     360 * }
     361 *
    354362 */
    355363function install_plugin_install_status($api, $loop = false) {
    356364        // This function is called recursively, $loop prevents further loops.