[wp-trac] [WordPress Trac] #25275: Checking if attachment is audio/video
WordPress Trac
noreply at wordpress.org
Sat Mar 7 07:08:55 UTC 2015
#25275: Checking if attachment is audio/video
------------------------------------------------------+------------------
Reporter: danielpataki | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.2
Component: Media | Version: 3.6
Severity: normal | Resolution:
Keywords: has-patch needs-testing needs-unit-tests | Focuses:
------------------------------------------------------+------------------
Comment (by DrewAPicture):
In [changeset:"31659"]:
{{{
#!CommitTicketReference repository="" revision="31659"
Better document parameters and the return for the newly-introduced
`wp_attachment_is()`.
Also adds a changelog entry to the DocBlock for `wp_attachment_is_image()`
to denote that it serves as a wrapper for `wp_attachment_is()` as of
4.2.0.
See [31645]. See #25275.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25275#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list