[wp-trac] [WordPress Trac] #23843: Consolidate and filter get_attached_audio|video|images

WordPress Trac noreply at wordpress.org
Fri Jul 5 20:41:50 UTC 2013


#23843: Consolidate and filter get_attached_audio|video|images
------------------------------+---------------------
 Reporter:  helen             |       Owner:  helen
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  3.6
Component:  Media             |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by markjaquith):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"24571"]:
 {{{
 #!CommitTicketReference repository="" revision="24571"
 Drop some wrapper functions

 * `get_attached_audio()` (use `get_attached_media( 'audio' )`)
 * `get_attached_images()` (use `get_attached_media( 'image' )`)
 * `get_attached_videos()` (use `get_attached_media( 'video' )`)

 props wonderboymusic. fixes #23843.
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/23843#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list