Make WordPress Core

Changeset 35066


Ignore:
Timestamp:
10/12/2015 04:43:19 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Normalize spacing in the wp_get_attachment_link hook doc following [35065].

See #34257. See #32246.

File:
1 edited

Legend:

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

    r35065 r35066  
    14381438     * @since 2.7.0
    14391439     *
    1440      * @param string      $link_html The page link HTML output.
    1441      * @param int         $id        Post ID.
    1442      * @param string|array $size     Size of the image. Image size or array of width and height values (in that order).
    1443      *                               Default 'thumbnail'.
    1444      * @param bool        $permalink Whether to add permalink to image. Default false.
    1445      * @param bool        $icon      Whether to include an icon. Default false.
    1446      * @param string|bool $text      If string, will be link text. Default false.
     1440     * @param string       $link_html The page link HTML output.
     1441     * @param int          $id        Post ID.
     1442     * @param string|array $size      Size of the image. Image size or array of width and height values (in that order).
     1443     *                                Default 'thumbnail'.
     1444     * @param bool         $permalink Whether to add permalink to image. Default false.
     1445     * @param bool         $icon      Whether to include an icon. Default false.
     1446     * @param string|bool  $text      If string, will be link text. Default false.
    14471447     */
    14481448    return apply_filters( 'wp_get_attachment_link', "<a href='$url'>$link_text</a>", $id, $size, $permalink, $icon, $text );
Note: See TracChangeset for help on using the changeset viewer.