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-includes/post-thumbnail-template.php

    r52065 r52204  
    225225     * @param string       $html              The post thumbnail HTML.
    226226     * @param int          $post_id           The post ID.
    227      * @param int          $post_thumbnail_id The post thumbnail ID.
     227     * @param int          $post_thumbnail_id The post thumbnail ID, or 0 if there isn't one.
    228228     * @param string|int[] $size              Requested image size. Can be any registered image size name, or
    229229     *                                        an array of width and height values in pixels (in that order).
    230      * @param string       $attr              Query string of attributes.
     230     * @param string|array $attr              Query string or array of attributes.
    231231     */
    232232    return apply_filters( 'post_thumbnail_html', $html, $post->ID, $post_thumbnail_id, $size, $attr );
Note: See TracChangeset for help on using the changeset viewer.