[wp-trac] [WordPress Trac] #11149: Images are still visible if trashed or if their parent post is unpublished

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 11 18:38:52 UTC 2009


#11149: Images are still visible if trashed or if their parent post is unpublished
--------------------------+-------------------------------------------------
 Reporter:  aldenta       |       Owner:  aldenta    
     Type:  defect (bug)  |      Status:  assigned   
 Priority:  normal        |   Milestone:  2.9        
Component:  Media         |     Version:  2.9        
 Severity:  blocker       |    Keywords:  2nd-opinion
--------------------------+-------------------------------------------------

Comment(by nacin):

 westi, do you want someone to patch this?

 Replying to [comment:20 caesarsgrunt]:
 > Move trashed images into a "trashed" folder, or add a ".trashed" suffix
 to their names. Then when untrashing them, this change could be reverted.
 This would "solve" the direct linking problem, since trashed images would
 then behave in the same way as deleted ones currently do.

 The problem there was pointed out by markjaquith, in that "For file-moving
 schemes, it would have to be unpredictable." prettyboymp made a good point
 that we could make it unpredictable then store in in post meta, I don't
 think it caught on because it's too much to rush into 2.9 and there are
 probably better ways to tackle this in 3.0.

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


More information about the wp-trac mailing list