WordPress.org

Make WordPress Core

Ticket #23791: 23791.diff

File 23791.diff, 623 bytes (added by GaryJ, 6 years ago)
  • wp-includes/media.php

     
    539539 * @param int $attachment_id Image attachment ID.
    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 */
    544545function wp_get_attachment_image($attachment_id, $size = 'thumbnail', $icon = false, $attr = '') {