Make WordPress Core


Ignore:
Timestamp:
09/20/2020 03:53:52 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Inline documentation improvements for media related functions and hooks.

See #47364, #50768

File:
1 edited

Legend:

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

    r48991 r49020  
    16461646     *                                Default 'thumbnail'.
    16471647     * @param bool         $permalink Whether to add permalink to image. Default false.
    1648      * @param bool         $icon      Whether to include an icon. Default false.
    1649      * @param string|bool  $text      If string, will be link text. Default false.
    1650      * @param array|string $attr      Array or string of attributes. Default empty.
     1648     * @param bool         $icon      Whether to include an icon.
     1649     * @param string|bool  $text      If string, will be link text.
     1650     * @param array|string $attr      Array or string of attributes.
    16511651     */
    16521652    return apply_filters( 'wp_get_attachment_link', "<a href='" . esc_url( $url ) . "'>$link_text</a>", $id, $size, $permalink, $icon, $text, $attr );
Note: See TracChangeset for help on using the changeset viewer.