[wp-trac] [WordPress Trac] #10497: PHP safe-mode prevents WordPress from creating new directories

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 27 15:58:39 UTC 2009


#10497: PHP safe-mode prevents WordPress from creating new directories
--------------------------+-------------------------------------------------
 Reporter:  remi          |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:            
 Severity:  major         |    Keywords:            
--------------------------+-------------------------------------------------
 Running WordPress in safe-mode prevents the installation of plugins via
 the admin interface, because it is trying to create a new directory that
 ends with a "/", which is forbidden in safe-mode.

 I created a patch that apply `untrailingslashit` to the path before
 creating it.

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


More information about the wp-trac mailing list