[wp-trac] [WordPress Trac] #10559: Allow a custom subdir in wp_upload_dir

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 6 19:38:19 UTC 2009


#10559: Allow a custom subdir in wp_upload_dir
---------------------------+------------------------------------------------
 Reporter:  aaroncampbell  |       Owner:  dd32                   
     Type:  enhancement    |      Status:  new                    
 Priority:  normal         |   Milestone:  2.9                    
Component:  Filesystem     |     Version:                         
 Severity:  normal         |    Keywords:  has-patch needs-testing
---------------------------+------------------------------------------------

Comment(by Denis-de-Bernardy):

 I'd be disagreeable on that one. passing the post_id to the upload_dir
 filter would be a *much* better implementation. it's then the plugin's job
 to determine if any subdir applies.

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


More information about the wp-trac mailing list