﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
16391,"Don't add empty ""_wp_attachment_metadata"" on non-image media files",Caspie,ryan,"I'm currently working on a community project where there are a lot of front-end file uploads. I've noticed that when you upload a non-image file, an empty _wp_attachment_metadata is added to the postmeta table. Just did a quick patch to check the $data in wp_update_attachment_metadata function. And since $data comes always as an array from wp_generate_attachment_metadata, we do not update if it is an empty array.",enhancement,closed,normal,3.5,Media,3.0.1,minor,fixed,has-patch,
