[wp-trac] [WordPress Trac] #8428: wp_mkdir_p function endless recursion

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 29 18:56:27 GMT 2008


#8428: wp_mkdir_p function endless recursion
-----------------------+----------------------------------------------------
 Reporter:  st_falcon  |       Owner:  anonymous              
     Type:  defect     |      Status:  new                    
 Priority:  high       |   Milestone:                         
Component:  General    |     Version:  2.6.1                  
 Severity:  critical   |    Keywords:  wp_mkdir_p, upload_path
-----------------------+----------------------------------------------------
 I've moved my WP 2.6.2 to another hosting but forgot to change settings
 for directory to store upload data in.

 On file upload I saw attempts of creating such directories:


 {{{
 /home/falcon/data/www/blog.stfalcon.com/wp-content/uploads/2008/11
 /home/falcon/data/www/blog.stfalcon.com/wp-content/uploads/2008
 /home/falcon/data/www/blog.stfalcon.com/wp-content/uploads
 /home/falcon/data/www/blog.stfalcon.com/wp-content
 /home/falcon/data/www/blog.stfalcon.com
 /home/falcon/data/www
 /home/falcon/data
 /home/falcon
 /home
 /
 /
 /
 /
 /
 /
 /
 /
 /
 /
 /
 /
 /
 /
 /
 ...
 }}}

 Seems this function shouldn't try to create any directories when / is
 reached.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8428>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list