From 9c1ab4eec06936094c49fb84257f091e0a9c9075 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 7 Mar 2015 07:11:11 +0000 Subject: [PATCH] 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 --- src/wp-includes/post.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 4732de8b34..88c5802193 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -5073,6 +5073,8 @@ function wp_get_attachment_thumb_url( $post_id = 0 ) { /** * Verifies an attachment is of a given type. * + * @since 4.2.0 + * * @param string $type Attachment type. Accepts 'image', 'audio', or 'video'. * @param int|WP_Post $post_id Optional. Attachment ID. Default 0. * @return bool True if one of the accepted types, false otherwise.