Make WordPress Core

Changeset 29837


Ignore:
Timestamp:
10/05/2014 05:51:42 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Update @param docs for wp_get_attachment_image().

see #29869.

File:
1 edited

Legend:

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

    r29836 r29837  
    687687 * @uses wp_get_attachment_image_src() Gets attachment file URL and dimensions
    688688 *
    689  * @param int $attachment_id Image attachment ID.
    690  * @param string $size Optional, default is 'thumbnail'.
    691  * @param bool $icon Optional, default is false. Whether it is an icon.
    692  * @param mixed $attr Optional, attributes for the image markup.
     689 * @param int          $attachment_id Image attachment ID.
     690 * @param string|array $size          Optional. Default 'thumbnail'.
     691 * @param bool         $icon          Optional. Whether it is an icon. Default false.
     692 * @param string|array $attr          Optional. Attributes for the image markup. Default empty string.
    693693 * @return string HTML img element or empty string on failure.
    694694 */
Note: See TracChangeset for help on using the changeset viewer.