WordPress.org

Make WordPress Core

Changeset 34764


Ignore:
Timestamp:
10/02/2015 04:51:39 AM (4 years ago)
Author:
DrewAPicture
Message:

Docs: Also clarify the expected element types depending on the value of $action in the hook doc for the plugins_api filter.

See [34763] for context.

See #34035.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin-install.php

    r34763 r34764  
    130130     * Passing a non-false value will effectively short-circuit the WordPress.org API request.
    131131     *
    132      * If `$action` is 'query_plugins', 'plugin_information', or 'hot_categories', an object MUST
    133      * be passed. If `$action` is 'hot_tags`, an array should be passed.
     132     * If `$action` is 'query_plugins' or 'plugin_information', an object MUST be passed.
     133     * If `$action` is 'hot_tags` or 'hot_categories', an array should be passed.
    134134     *
    135135     * @since 2.7.0
Note: See TracChangeset for help on using the changeset viewer.