[wp-trac] Re: [WordPress Trac] #8753: Filter 'upload_dir' is called excessively for (seemingly) no reason

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 29 23:21:22 GMT 2008

#8753: Filter 'upload_dir' is called excessively for (seemingly) no reason
 Reporter:  ulfben                    |        Owner:  anonymous
     Type:  defect (bug)              |       Status:  new      
 Priority:  normal                    |    Milestone:  2.8      
Component:  General                   |      Version:  2.7      
 Severity:  normal                    |   Resolution:           
 Keywords:  dev-feedback needs-patch  |  
Changes (by DD32):

  * keywords:  upload_dir, custom upload dir, filter,  media library, empty
               runs => dev-feedback needs-patch


 indeed it is intentional.

 the upload_dir() function needs to be called to find out the uploads
 directory, the uploads url, etc. In the case of the media library, each
 thumbnail and link needs to call it.. if theres not some form of caching
 in place on it already, there should probably be some..

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

More information about the wp-trac mailing list