[wp-trac] [WordPress Trac] #16251: Change attachment image uploads to have post_date corresponding to EXIF created date

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 11 04:47:14 UTC 2011


#16251: Change attachment image uploads to have post_date corresponding to EXIF
created date
--------------------------+-----------------------------
 Reporter:  Otto42        |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+-----------------------------
Changes (by solarissmoke):

 * keywords:   => dev-feedback


Comment:

 This is not so simple - post_date is implicitly assumed to be the date of
 upload:

 - Currently the Media Editor shows you the "Upload Date" of the image. The
 plugin code you posted above changes that to the creation date, which is
 obviously wrong. Same thing when you view the attachment - it says
 "Published on [post_date]".

 - WP defaults to storing media in yyyy/mm based folders - based on upload
 date. Again potential for confusion if you change post_date.

 IMO it may be better to leave post_date as the uploaded date, and read the
 creation date metadata manually as/when needed.

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


More information about the wp-trac mailing list