WordPress.org

Make WordPress Core

Ticket #34035: 34035.5.patch

File 34035.5.patch, 2.0 KB (added by ocean90, 4 years ago)
  • src/wp-admin/includes/plugin-install.php

     
    2727 * @param array|object $args   {
    2828 *     Optional. Array or object of arguments to serialize for the Plugin Info API.
    2929 *
    30  *     @type string  $slug     The plugin slug.
    31  *     @type int     $per_page Number of plugins per page. Default 24.
    32  *     @type int     $number   Number of tags or categories to be queried.
    33  *     @type string  $locale   Locale to provide context-sensitive results. Default is the value of get_locale().
    34  *     @type bool    $is_ssl   Whether links should be returned with https or not. Default false.
    35  *     @type array   $fields   {
     30 *     @type string  $slug              The plugin slug.
     31 *     @type int     $per_page          Number of plugins per page. Default 24.
     32 *     @type int     $page              Number of current page.
     33 *     @type int     $number            Number of tags or categories to be queried.
     34 *     @type string  $search            A search term.
     35 *     @type string  $tag               Tag to filter plugins.
     36 *     @type string  $author            Username of an plugin author to filter plugins.
     37 *     @type string  $user              Username to query for their favorites.
     38 *     @type string  $browse            Browse view: 'popular', 'new', 'beta', 'recommended'
     39 *     @type string  $locale            Locale to provide context-sensitive results. Default is the value of get_locale().
     40 *     @type string  $installed_plugins Installed plugins to provide context-sensitive results.
     41 *     @type bool    $is_ssl            Whether links should be returned with https or not. Default false.
     42 *     @type array   $fields            {
    3643 *         Array of fields which should or should not be returned.
    3744 *
    3845 *         @type bool $short_description Whether to return the plugin short description. Default true.