[wp-trac] Re: [WordPress Trac] #3907: WP reverts to default theme on file access collision

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 8 00:33:38 GMT 2007


#3907: WP reverts to default theme on file access collision
-------------------------+--------------------------------------------------
 Reporter:  _ck_         |        Owner:  anonymous
     Type:  defect       |       Status:  new      
 Priority:  low          |    Milestone:  2.5      
Component:  Template     |      Version:  2.2      
 Severity:  major        |   Resolution:           
 Keywords:  needs-patch  |  
-------------------------+--------------------------------------------------
Comment (by lloydbudd):

 +1 to removing the call validate_current_theme() from wp-settings.php

 file_exists can fails (returns false) when there is file contention. I've
 been working with a friend who supports a number of busy blogs and on two
 different hosting environments he has issue with regular resets -- and by
 regular, I don't mean I can see a pattern to the time interval, sometimes
 it can be a few minutes a part, sometimes a few hours.

 validate_current_theme with its 2 file checks is useful for basic sanity
 when going to the Presentation tab, and it would be great if it did more
 checking, but a synchronous wp_file_exists on every load of WP seems
 awkward, and won't detect most problems with a theme.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3907#comment:11>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list