[wp-trac] [WordPress Trac] #11059: Discourage plugin authors calling wp-config.php directly

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 6 17:40:12 UTC 2009


#11059: Discourage plugin authors calling wp-config.php directly
-------------------------+--------------------------------------------------
 Reporter:  strider72    |        Owner:         
     Type:  enhancement  |       Status:  closed 
 Priority:  normal       |    Milestone:         
Component:  General      |      Version:  2.9    
 Severity:  normal       |   Resolution:  wontfix
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by josephscott):

 I must have missed the discussion on this ticket during the weekly dev
 chat.

 There's absolutely 100% a problem with themes and plugins including wp-
 config.php, wp-load.php, wp-blog-header.php, etc. directly.  Now we may
 need to come up with a better mechanism (and patch) to deal with this, but
 the concept of actively discouraging theme and plugin developers from
 doing something we know will break is the right thing to do.

 If we can detect a problem in code why would we choose not to do something
 about it?  Ignoring something that will cause fatal errors and instead
 deferring to "user education" sounds like a missed opportunity.

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


More information about the wp-trac mailing list