[wp-trac] [WordPress Trac] #17255: Draft status for media files

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 27 15:08:42 UTC 2011

#17255: Draft status for media files
 Reporter:  jane          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  2nd-opinion   |

Comment (by nacin):

 Originally posted in #17254 -- (in turn, these aren't entirely new ideas;
 they came up during 2.9 development)

 We could create a random hash, store the hash in postmeta, and use the
 hash in the filename. Then on publish we can remove the hash from the
 filename. Works for draft and trash.

 It's certainly not foolproof, but it's an idea.

 We could also put them into their own uploads directory (in addition to
 the hash), that way the entire directory can be locked down in htaccess

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

More information about the wp-trac mailing list