[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
Thu Jul 26 19:43:46 UTC 2012


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

 * keywords:  has-patch => has-patch needs-refresh
 * milestone:  Future Release => 3.5


Comment:

 We can actually just say `if ( $data )`.

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


More information about the wp-trac mailing list