[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 12:57:29 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 ulfben):

 Yes, I realize that. But whenever we're dealing with attachments, we're
 also (by inference) working with posts - since all attachments are
 associated to one. (I think)

 Another solution perhaps, would be to have entirely separate methods: one
 to get the path of an existing attachment and another to create a path for
 a new attachment.

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


More information about the wp-trac mailing list