Docs: Normalize spacing in the `wp_get_attachment_link` hook doc following [35065].
See #34257. See #32246. Built from https://develop.svn.wordpress.org/trunk@35066 git-svn-id: http://core.svn.wordpress.org/trunk@35031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ad628c7165
commit
8544d69d35
|
@ -1437,13 +1437,13 @@ function wp_get_attachment_link( $id = 0, $size = 'thumbnail', $permalink = fals
|
|||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @param string $link_html The page link HTML output.
|
||||
* @param int $id Post ID.
|
||||
* @param string|array $size Size of the image. Image size or array of width and height values (in that order).
|
||||
* Default 'thumbnail'.
|
||||
* @param bool $permalink Whether to add permalink to image. Default false.
|
||||
* @param bool $icon Whether to include an icon. Default false.
|
||||
* @param string|bool $text If string, will be link text. Default false.
|
||||
* @param string $link_html The page link HTML output.
|
||||
* @param int $id Post ID.
|
||||
* @param string|array $size Size of the image. Image size or array of width and height values (in that order).
|
||||
* Default 'thumbnail'.
|
||||
* @param bool $permalink Whether to add permalink to image. Default false.
|
||||
* @param bool $icon Whether to include an icon. Default false.
|
||||
* @param string|bool $text If string, will be link text. Default false.
|
||||
*/
|
||||
return apply_filters( 'wp_get_attachment_link', "<a href='$url'>$link_text</a>", $id, $size, $permalink, $icon, $text );
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-35065';
|
||||
$wp_version = '4.4-alpha-35066';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue