[wp-trac] [WordPress Trac] #16391: Don't add empty "_wp_attachment_metadata" on non-image media files

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 24 13:07:36 UTC 2012


#16391: Don't add empty "_wp_attachment_metadata" on non-image media files
-------------------------+---------------------
 Reporter:  Caspie       |       Owner:  ryan
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  3.5
Component:  Media        |     Version:  3.0.1
 Severity:  minor        |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------
Changes (by ryan):

 * owner:   => ryan
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [21967]:
 {{{
 #!CommitTicketReference repository="" revision="21967"
 Don't add empty _wp_attached_file, _wp_attachment_metadata, _thumbnail_id
 meta to posts. Delete these fields when set to empty. Props
 SergeyBiryukov, Caspie. fixes #16391
 }}}

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


More information about the wp-trac mailing list