Make WordPress Core

Changeset 38025


Ignore:
Timestamp:
07/09/2016 02:38:33 PM (9 years ago)
Author:
ocean90
Message:

Docs: Fix a typo in the DocBlock for themes_api(), themes_api, plugins_api(), and plugins_api.

See #32246.

Location:
trunk/src/wp-admin/includes
Files:
2 edited

Legend:

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

    r37714 r38025  
    2121 * The second filter, {@see 'plugins_api'}, allows a plugin to override the WordPress.org
    2222 * Plugin Install API entirely. If `$action` is 'query_plugins' or 'plugin_information',
    23  * an object MUST be passed. If `$action` is 'hot_tags` or 'hot_categories', an array MUST
     23 * an object MUST be passed. If `$action` is 'hot_tags' or 'hot_categories', an array MUST
    2424 * be passed.
    2525 *
     
    131131     *
    132132     * 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.
     133     * If `$action` is 'hot_tags' or 'hot_categories', an array should be passed.
    134134     *
    135135     * @since 2.7.0
  • trunk/src/wp-admin/includes/theme.php

    r37961 r38025  
    323323 * The second filter, {@see 'themes_api'}, allows a plugin to override the WordPress.org
    324324 * Theme API entirely. If `$action` is 'query_themes', 'theme_information', or 'feature_list',
    325  * an object MUST be passed. If `$action` is 'hot_tags`, an array should be passed.
     325 * an object MUST be passed. If `$action` is 'hot_tags', an array should be passed.
    326326 *
    327327 * Finally, the third filter, {@see 'themes_api_result'}, makes it possible to filter the
     
    423423     *
    424424     * If `$action` is 'query_themes', 'theme_information', or 'feature_list', an object MUST
    425      * be passed. If `$action` is 'hot_tags`, an array should be passed.
     425     * be passed. If `$action` is 'hot_tags', an array should be passed.
    426426     *
    427427     * @since 2.8.0
Note: See TracChangeset for help on using the changeset viewer.