[wp-trac] Re: [WordPress Trac] #8753: Add a context flag to the 'upload_dir' filter

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 7 11:24:11 GMT 2009


#8753: Add a context flag to the 'upload_dir' filter
--------------------------------------+-------------------------------------
 Reporter:  ulfben                    |        Owner:     
     Type:  enhancement               |       Status:  new
 Priority:  low                       |    Milestone:  2.9
Component:  Upload                    |      Version:  2.7
 Severity:  normal                    |   Resolution:     
 Keywords:  dev-feedback needs-patch  |  
--------------------------------------+-------------------------------------
Comment (by DD32):

 > I haven't checked where all the invocations of this filter happens, but
 perhaps we could just include the current post ID with the call?

 No. The whole problem in this ticket is that the uploads_dir filter is
 called in more locations than just when an attachment is being uploaded.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8753#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list