Make WordPress Core


Ignore:
Timestamp:
11/18/2021 01:48:43 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Various corrections and improvements relating to types used in inline documentation.

See #53399

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php

    r50505 r52204  
    252252     * @global array $themes_allowedtags
    253253     *
    254      * @param object $theme {
     254     * @param stdClass $theme {
    255255     *     An object that contains theme data returned by the WordPress.org API.
    256256     *
     
    353353         * @param string[] $actions An array of theme action links. Defaults are
    354354         *                          links to Install Now, Preview, and Details.
    355          * @param WP_Theme $theme   Theme object.
     355         * @param stdClass $theme   An object that contains theme data returned by the
     356         *                          WordPress.org API.
    356357         */
    357358        $actions = apply_filters( 'theme_install_actions', $actions, $theme );
     
    413414     * Used to make the theme installer work for no-js.
    414415     *
    415      * @param object $theme - A WordPress.org Theme API object.
     416     * @param stdClass $theme A WordPress.org Theme API object.
    416417     */
    417418    public function theme_installer_single( $theme ) {
     
    433434     * @global array $themes_allowedtags
    434435     *
    435      * @param object $theme - A WordPress.org Theme API object.
     436     * @param stdClass $theme A WordPress.org Theme API object.
    436437     */
    437438    public function install_theme_info( $theme ) {
     
    547548     * @since 3.4.0
    548549     *
    549      * @param object $theme - A WordPress.org Theme API object.
     550     * @param stdClass $theme A WordPress.org Theme API object.
    550551     * @return string Theme status.
    551552     */
Note: See TracChangeset for help on using the changeset viewer.