[wp-trac] [WordPress Trac] #7127: Misguided PHPdoc comment in wp-load.php

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 12 13:18:16 GMT 2008

#7127: Misguided PHPdoc comment in wp-load.php
 Reporter:  sambauers  |       Owner:  anonymous
     Type:  defect     |      Status:  new      
 Priority:  low        |   Milestone:  2.6      
Component:  General    |     Version:  2.6      
 Severity:  minor      |    Keywords:  phpdoc   
 The follow paragraph in the PHPdoc comment in wp-load.php is incorrect:

  * Also made to work in the wp-admin/ folder, because it
  * will look in the parent directory if the file is not
  * found in the current directory.

 That is not the purpose of the routine which searches for wp-config.php in
 the parent directory, It should be removed or rewritten something like:

  * Will also search for wp-config.php in WordPress'
  * parent directory to allow the WordPress directory
  * to remain untouched.

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

More information about the wp-trac mailing list