[wp-trac] [WordPress Trac] #27634: prepend_attachment() produces a warning if attachment type is not image, video or audio.
    WordPress Trac 
    noreply at wordpress.org
       
    Wed Apr  2 17:13:11 UTC 2014
    
    
  
#27634: prepend_attachment() produces a warning if attachment type is not image,
video or audio.
--------------------------+-----------------------------
 Reporter:  ocean90       |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.9
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  template
--------------------------+-----------------------------
Changes (by wonderboymusic):
 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed
Comment:
 In [changeset:"27908"]:
 {{{
 #!CommitTicketReference repository="" revision="27908"
 Fix a regression caused by [27622] in `prepend_attachment()` by passing
 all attachments that are not audio or video to the `else` clause.
 Fixes #27634.
 }}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27634#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list