WordPress.org

Make WordPress Core

Ticket #36912: 36912.patch

File 36912.patch, 983 bytes (added by sudar, 21 months 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.