[wp-trac] [WordPress Trac] #15616: Avoid running win_is_writable() on non-IIS servers

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 30 21:39:24 UTC 2010


#15616: Avoid running win_is_writable() on non-IIS servers
--------------------------+-------------------------------------------------
 Reporter:  nbachiyski    |       Owner:       
     Type:  defect (bug)  |      Status:  new  
 Priority:  low           |   Milestone:  3.1  
Component:  Performance   |     Version:  3.0.1
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------
 {{{win_is_writable()}}} is both expensive (creates temporary files) and
 must use the @ operator due to a PHP bug in Windows.

 It's use on non-IIS servers can be avoided if we first check if IIS7
 rewrite rules are supported on this server.

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


More information about the wp-trac mailing list