[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 10:31:38 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):
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?
All attachments in WordPress belongs to a post in some way, right? (if
not, we could send null for those rogue items)
That would give ''me'' all the context I need anyway. :)
--
Ticket URL: <http://trac.wordpress.org/ticket/8753#comment:6>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list