[wp-trac] [WordPress Trac] #11282: Bizarre Behavior When wp-content Missing

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 29 02:28:24 UTC 2009


#11282: Bizarre Behavior When wp-content Missing
------------------------------+---------------------------------------------
 Reporter:  miqrogroove       |       Owner:  westi
     Type:  defect (bug)      |      Status:  new  
 Priority:  normal            |   Milestone:  2.9  
Component:  Warnings/Notices  |     Version:  2.8.4
 Severity:  normal            |    Keywords:       
------------------------------+---------------------------------------------

Comment(by dd32):

 I'm not too sure of the need for this..

 Then again, a simple addition could "fix" it:

 {{{
 if ( ! is_dir(WP_CONTENT_DIR) )
    wp_die( sprintf('Your wp-content directory(%s) is missing.',
 WP_CONTENT_DIR) );
 }}}

 It comes down to performance perhaps, Is an extra IO check needed when
 this would only occur under a incorrect/incomplete install?

 It could alternativly only be added to the installer.. rather than wp-
 settings.php

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


More information about the wp-trac mailing list