From b1a59e9d30e9e0ca9ce020851eeb453734d60031 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 7 Mar 2015 07:12:28 +0000 Subject: [PATCH] Add a missing `@since 4.2.0` tag to the DocBlock for `wp_attachment_is()`. See #25275. Built from https://develop.svn.wordpress.org/trunk@31660 git-svn-id: http://core.svn.wordpress.org/trunk@31641 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 4732de8b34..88c5802193 100644 --- a/wp-includes/post.php +++ b/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. diff --git a/wp-includes/version.php b/wp-includes/version.php index f1ed489661..d6044a870f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31659'; +$wp_version = '4.2-alpha-31660'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.