Add a missing `@since 4.2.0` tag to the DocBlock for `wp_attachment_is()`.

See #25275.


git-svn-id: https://develop.svn.wordpress.org/trunk@31660 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-03-07 07:11:11 +00:00
parent 37ca5609c8
commit 9c1ab4eec0
1 changed files with 2 additions and 0 deletions

View File

@ -5073,6 +5073,8 @@ function wp_get_attachment_thumb_url( $post_id = 0 ) {
/** /**
* Verifies an attachment is of a given type. * Verifies an attachment is of a given type.
* *
* @since 4.2.0
*
* @param string $type Attachment type. Accepts 'image', 'audio', or 'video'. * @param string $type Attachment type. Accepts 'image', 'audio', or 'video'.
* @param int|WP_Post $post_id Optional. Attachment ID. Default 0. * @param int|WP_Post $post_id Optional. Attachment ID. Default 0.
* @return bool True if one of the accepted types, false otherwise. * @return bool True if one of the accepted types, false otherwise.