[wp-trac] [WordPress Trac] #10752: Uploading new media to existing posts/pages backdates file location

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 9 16:10:31 UTC 2009


#10752: Uploading new media to existing posts/pages backdates file location
--------------------------+-------------------------------------------------
 Reporter:  dpie          |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  Unassigned 
Component:  Media         |     Version:  2.8.4      
 Severity:  minor         |    Keywords:  2nd-opinion
--------------------------+-------------------------------------------------

Comment(by dpie):

 Replying to [comment:1 azaozz]:
 > This is actually a "feature" (can't find the ticket at the moment).
 Attachments are stored by the parent post date.

 Even if this is the new standard WP attachment behavior, the upload should
 not be creating an empty directory for the current year+month.

 Using the publication date rather than the file upload date might make
 sense for a timestamped Post, but it doesn't make sense for years-old
 Pages (in which the pub date is largely irrelevant).

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


More information about the wp-trac mailing list