WordPress.org

Make WordPress Core

Ticket #36912: 36912.3.patch

File 36912.3.patch, 1015 bytes (added by sudar, 4 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  Data about the plugin retrieved from the API.
     352 * @param  bool         $loop Optional. Disable further loops. Default False.
     353 * @return array        {
     354 *
     355 *     @type string $status    Status of a plugin. Could be one of Install, Update Available, 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.