WordPress.org

Make WordPress Core

Changeset 23714


Ignore:
Timestamp:
03/15/2013 05:19:10 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Add phpdoc for $attr argument of wp_get_attachment_image(). props GaryJ. fixes #23791.

File:
1 edited

Legend:

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

    r23649 r23714  
    540540 * @param string $size Optional, default is 'thumbnail'.
    541541 * @param bool $icon Optional, default is false. Whether it is an icon.
     542 * @param mixed $attr Optional, attributes for the image markup.
    542543 * @return string HTML img element or empty string on failure.
    543544 */
Note: See TracChangeset for help on using the changeset viewer.