WordPress.org

Make WordPress Core

Changeset 32618


Ignore:
Timestamp:
05/27/2015 04:28:37 PM (6 years ago)
Author:
wonderboymusic
Message:

Add missing doc blocks to post-thumbnail-template.php.

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post-thumbnail-template.php

    r31853 r32618  
    2727 * @since 2.9.0
    2828 *
    29  * @param int $post_id Optional. Post ID.
    30  * @return int
     29 * @param int|null $post_id Optional. Post ID.
     30 * @return mixed
    3131 */
    3232function get_post_thumbnail_id( $post_id = null ) {
     
    6262 * @since 3.2.0
    6363 *
    64  * @param object $wp_query Optional. A WP_Query instance. Defaults to the $wp_query global.
     64 * @global WP_Query $wp_query
     65 *
     66 * @param WP_Query $wp_query Optional. A WP_Query instance. Defaults to the $wp_query global.
    6567 */
    6668function update_post_thumbnail_cache( $wp_query = null ) {
     
    100102 *                           and width values. Default 'post-thumbnail'.
    101103 * @param string|array $attr Optional. Query string or array of attributes. Default empty.
     104 * @return string
    102105 */
    103106function get_the_post_thumbnail( $post_id = null, $size = 'post-thumbnail', $attr = '' ) {
Note: See TracChangeset for help on using the changeset viewer.