WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/22/2016 06:00:23 PM (5 years ago)
Author:
DrewAPicture
Message:

Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP.

See #36913.

File:
1 edited

Legend:

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

    r37287 r37488  
    312312 *
    313313 * It is possible for a theme to override the Themes API result with three
    314  * filters. Assume this is for themes, which can extend on the Theme Info to
     314 * Filterss. Assume this is for themes, which can extend on the Theme Info to
    315315 * offer more choices. This is very powerful and must be used with care, when
    316316 * overriding the filters.
     
    404404
    405405    /**
    406      * Filter arguments used to query for installer pages from the WordPress.org Themes API.
     406     * Filters arguments used to query for installer pages from the WordPress.org Themes API.
    407407     *
    408408     * Important: An object MUST be returned to this filter.
     
    417417
    418418    /**
    419      * Filter whether to override the WordPress.org Themes API.
     419     * Filters whether to override the WordPress.org Themes API.
    420420     *
    421421     * Passing a non-false value will effectively short-circuit the WordPress.org API request.
     
    463463
    464464    /**
    465      * Filter the returned WordPress.org Themes API response.
     465     * Filters the returned WordPress.org Themes API response.
    466466     *
    467467     * @since 2.8.0
     
    489489
    490490    /**
    491      * Filter theme data before it is prepared for JavaScript.
     491     * Filters theme data before it is prepared for JavaScript.
    492492     *
    493493     * Passing a non-empty array will result in wp_prepare_themes_for_js() returning
     
    575575
    576576    /**
    577      * Filter the themes prepared for JavaScript, for themes.php.
     577     * Filters the themes prepared for JavaScript, for themes.php.
    578578     *
    579579     * Could be useful for changing the order, which is by name by default.
Note: See TracChangeset for help on using the changeset viewer.