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
This commit is contained in:
parent
b84904051b
commit
b1a59e9d30
|
@ -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.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue