[wp-trac] Re: [WordPress Trac] #9973: execute function apply_filters before wp_mkdir_p

WordPress Trac wp-trac at lists.automattic.com
Sat May 30 10:00:53 GMT 2009


#9973: execute function apply_filters before wp_mkdir_p
-------------------------------------+--------------------------------------
 Reporter:  toemon                   |        Owner:          
     Type:  defect (bug)             |       Status:  reopened
 Priority:  low                      |    Milestone:  2.8     
Component:  Upload                   |      Version:  2.7.1   
 Severity:  normal                   |   Resolution:          
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------

Comment(by westi):

 Ok.

 Moving that filter looks good.

 BTW that plugin doesn't do enough to make it all work as the attachments
 end up still pointing at the normal url.

 And it needed some patching to work around errors:

 {{{
                 $path = get_option( 'upload_path' );
                 $path = trim($path);
                 if ( !$path )
                         $path = WP_CONTENT_DIR . '/uploads';
 }}}

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


More information about the wp-trac mailing list